Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(831)

Unified Diff: chrome/android/java/src/org/chromium/chrome/browser/offlinepages/OfflinePageBridge.java

Issue 2345133002: Offline Pages: Removes the metadata consistency check from the model API. (Closed)
Patch Set: Rebase Created 4 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | chrome/browser/android/offline_pages/offline_page_bridge.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/android/java/src/org/chromium/chrome/browser/offlinepages/OfflinePageBridge.java
diff --git a/chrome/android/java/src/org/chromium/chrome/browser/offlinepages/OfflinePageBridge.java b/chrome/android/java/src/org/chromium/chrome/browser/offlinepages/OfflinePageBridge.java
index 06273ec277fa766eb323ee63ed9299f89e2f88c9..11ee29d0120c857abb4706fdbc3abec78a255f30 100644
--- a/chrome/android/java/src/org/chromium/chrome/browser/offlinepages/OfflinePageBridge.java
+++ b/chrome/android/java/src/org/chromium/chrome/browser/offlinepages/OfflinePageBridge.java
@@ -444,13 +444,6 @@ public class OfflinePageBridge {
}
/**
- * Starts a check of offline page metadata, e.g. are all offline copies present.
- */
- public void checkOfflinePageMetadata() {
- nativeCheckMetadataConsistency(mNativeOfflinePageBridge);
- }
-
- /**
* Retrieves the extra request header to reload the offline page.
* @param webContents Contents of the page to reload.
* @return The extra request header string.
@@ -612,7 +605,6 @@ public class OfflinePageBridge {
String clientNamespace, String clientId, boolean userRequested);
private native void nativeDeletePages(
long nativeOfflinePageBridge, Callback<Integer> callback, long[] offlineIds);
- private native void nativeCheckMetadataConsistency(long nativeOfflinePageBridge);
private native String nativeGetOfflinePageHeaderForReload(
long nativeOfflinePageBridge, WebContents webContents);
}
« no previous file with comments | « no previous file | chrome/browser/android/offline_pages/offline_page_bridge.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698