| Index: chrome/android/java/src/org/chromium/chrome/browser/history/BrowsingHistoryBridge.java
|
| diff --git a/chrome/android/java/src/org/chromium/chrome/browser/history/BrowsingHistoryBridge.java b/chrome/android/java/src/org/chromium/chrome/browser/history/BrowsingHistoryBridge.java
|
| index 3bf3d55bae15698afa6cbfa426d14da5a5d31df4..f044d0216894a0eaf546a9fc65a4a5e87eef6260 100644
|
| --- a/chrome/android/java/src/org/chromium/chrome/browser/history/BrowsingHistoryBridge.java
|
| +++ b/chrome/android/java/src/org/chromium/chrome/browser/history/BrowsingHistoryBridge.java
|
| @@ -30,6 +30,14 @@ public class BrowsingHistoryBridge {
|
| * via this method.
|
| */
|
| public void onHistoryDeleted();
|
| +
|
| + /**
|
| + * Called after querying history to indicate whether other forms of browsing history were
|
| + * found.
|
| + * @param hasOtherForms Whether other forms of browsing history were found.
|
| + * @param hasSyncedResults Whether synced results were found.
|
| + */
|
| + public void hasOtherFormsOfBrowsingData(boolean hasOtherForms, boolean hasSyncedResults);
|
| }
|
|
|
| private final BrowsingHistoryObserver mObserver;
|
| @@ -114,6 +122,11 @@ public class BrowsingHistoryBridge {
|
| mObserver.onHistoryDeleted();
|
| }
|
|
|
| + @CalledByNative
|
| + public void hasOtherFormsOfBrowsingData(boolean hasOtherForms, boolean hasSyncedResults) {
|
| + mObserver.hasOtherFormsOfBrowsingData(hasOtherForms, hasSyncedResults);
|
| + }
|
| +
|
| private native long nativeInit(Profile profile);
|
| private native void nativeDestroy(long nativeBrowsingHistoryBridge);
|
| private native void nativeQueryHistory(long nativeBrowsingHistoryBridge,
|
|
|