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

Unified Diff: components/offline_pages/offline_page_model_impl.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
« no previous file with comments | « components/offline_pages/offline_page_model.h ('k') | components/offline_pages/offline_page_model_impl.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/offline_pages/offline_page_model_impl.h
diff --git a/components/offline_pages/offline_page_model_impl.h b/components/offline_pages/offline_page_model_impl.h
index f66a571a6adf18db39533aded86e3cb5b63bd0d5..78f2bd31ddbf7c67ae926acc3000646a245240bc 100644
--- a/components/offline_pages/offline_page_model_impl.h
+++ b/components/offline_pages/offline_page_model_impl.h
@@ -105,7 +105,6 @@ class OfflinePageModelImpl : public OfflinePageModel, public KeyedService {
const MultipleOfflinePageItemCallback& callback) override;
const OfflinePageItem* MaybeGetBestPageForOnlineURL(
const GURL& online_url) const override;
- void CheckMetadataConsistency() override;
void ExpirePages(const std::vector<int64_t>& offline_ids,
const base::Time& expiration_time,
const base::Callback<void(bool)>& callback) override;
@@ -158,7 +157,8 @@ class OfflinePageModelImpl : public OfflinePageModel, public KeyedService {
const GURL& offline_url,
const SingleOfflinePageItemCallback& callback) const;
void MarkPageAccessedWhenLoadDone(int64_t offline_id);
- void CheckMetadataConsistencyWhenLoadDone();
+
+ void CheckMetadataConsistency();
// Callback for loading pages from the offline page metadata store.
void OnLoadDone(const base::TimeTicks& start_time,
« no previous file with comments | « components/offline_pages/offline_page_model.h ('k') | components/offline_pages/offline_page_model_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698