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

Unified Diff: components/offline_pages/offline_page_model_impl.h

Issue 2497703002: [Offline pages] Resetting offline page metadata store to handle LOAD/INIT failures (Closed)
Patch Set: Addressing STORE_INIT_FAILED Created 4 years, 1 month 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_impl.h
diff --git a/components/offline_pages/offline_page_model_impl.h b/components/offline_pages/offline_page_model_impl.h
index bb5c972ca66d5eaa75c96dd20af78925cd14d9e0..c4fd2a224ff9a3fc71244e8eed018157159208f7 100644
--- a/components/offline_pages/offline_page_model_impl.h
+++ b/components/offline_pages/offline_page_model_impl.h
@@ -150,9 +150,10 @@ class OfflinePageModelImpl : public OfflinePageModel, public KeyedService {
void CheckMetadataConsistency();
// Callback for loading pages from the offline page metadata store.
+ void OnStoreInitialized(const base::TimeTicks& start_time, StoreState state);
void OnLoadDone(const base::TimeTicks& start_time,
- OfflinePageMetadataStore::LoadStatus load_status,
const std::vector<OfflinePageItem>& offline_pages);
+ void CompleteLoad();
// Steps for saving a page offline.
void OnCreateArchiveDone(const GURL& requested_url,

Powered by Google App Engine
This is Rietveld 408576698