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

Unified Diff: components/offline_pages/offline_page_model.h

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
Index: components/offline_pages/offline_page_model.h
diff --git a/components/offline_pages/offline_page_model.h b/components/offline_pages/offline_page_model.h
index 7a4423f88b3bfe91a6fdd9376ae8b8e039bc17c7..39a83f1719b6a892cc156c97aee619469aaa2e7e 100644
--- a/components/offline_pages/offline_page_model.h
+++ b/components/offline_pages/offline_page_model.h
@@ -168,13 +168,6 @@ class OfflinePageModel : public base::SupportsUserData {
virtual const OfflinePageItem* MaybeGetBestPageForOnlineURL(
const GURL& online_url) const = 0;
- // Checks that all of the offline pages have corresponding offline copies,
- // and all archived files have offline pages pointing to them.
- // If a page is discovered to be missing an offline copy, its offline page
- // metadata will be expired. If an archive file is discovered missing its
- // offline page, it will be deleted.
- virtual void CheckMetadataConsistency() = 0;
-
// Marks pages with |offline_ids| as expired and deletes the associated
// archive files.
virtual void ExpirePages(const std::vector<int64_t>& offline_ids,
« no previous file with comments | « chrome/browser/android/offline_pages/offline_page_bridge.cc ('k') | components/offline_pages/offline_page_model_impl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698