Index: chrome/browser/android/offline_pages/offline_page_bridge.h |
diff --git a/chrome/browser/android/offline_pages/offline_page_bridge.h b/chrome/browser/android/offline_pages/offline_page_bridge.h |
index e56dcbbb0c44224e54b9ba3e15338c2c56790163..a0b3007a70415539b131c2e3bc6d05a81baee0ff 100644 |
--- a/chrome/browser/android/offline_pages/offline_page_bridge.h |
+++ b/chrome/browser/android/offline_pages/offline_page_bridge.h |
@@ -26,6 +26,9 @@ namespace android { |
*/ |
class OfflinePageBridge : public OfflinePageModel::Observer { |
public: |
+ // Returns true if |url| might points to an offline page. |
+ static bool MightBeOfflineURL(const GURL& url); |
+ |
OfflinePageBridge(JNIEnv* env, |
jobject obj, |
content::BrowserContext* browser_context); |
@@ -37,6 +40,7 @@ class OfflinePageBridge : public OfflinePageModel::Observer { |
void GetAllPages(JNIEnv* env, |
jobject obj, |
jobject j_result_obj); |
+ void GetPagesToCleanUp(JNIEnv* env, jobject obj, jobject j_result_obj); |
base::android::ScopedJavaLocalRef<jobject> |
GetPageByBookmarkId(JNIEnv* env, jobject obj, jlong bookmark_id); |
@@ -52,8 +56,10 @@ class OfflinePageBridge : public OfflinePageModel::Observer { |
jobject j_callback_obj, |
jlong bookmark_id); |
- // Returns true if |url| might points to an offline page. |
- static bool MightBeOfflineURL(const GURL& url); |
+ void DeletePages(JNIEnv* env, |
+ jobject obj, |
+ jobject j_callback_obj, |
+ jlongArray bookmark_ids_array); |
private: |
void NotifyIfDoneLoading() const; |