예제 #1
0
 /**
  * Clear the specified types of browsing data asynchronously. |listener| is an object to be
  * notified when clearing completes. It can be null, but many operations (e.g. navigation) are
  * ill-advised while browsing data is being cleared.
  */
 public void clearBrowsingData(
     OnClearBrowsingDataListener listener,
     boolean history,
     boolean cache,
     boolean cookiesAndSiteData,
     boolean passwords,
     boolean formData) {
   assert mClearBrowsingDataListener == null;
   mClearBrowsingDataListener = listener;
   nativeClearBrowsingData(history, cache, cookiesAndSiteData, passwords, formData);
 }