| 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..3341cc4805ec89d9fed62590f9265641fb6acfba 100644
|
| --- a/components/offline_pages/offline_page_model_impl.h
|
| +++ b/components/offline_pages/offline_page_model_impl.h
|
| @@ -150,9 +150,15 @@ 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,
|
| + int reset_attempts_left,
|
| + bool success);
|
| + void OnStoreResetDone(const base::TimeTicks& start_time,
|
| + int reset_attempts_left,
|
| + bool success);
|
| 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,
|
| @@ -242,7 +248,7 @@ class OfflinePageModelImpl : public OfflinePageModel, public KeyedService {
|
| OfflinePageStorageManager::ClearStorageResult result);
|
|
|
| // Post task to clear storage.
|
| - void PostClearStorageIfNeededTask();
|
| + void PostClearStorageIfNeededTask(bool delayed);
|
|
|
| // Check if |offline_page| should be removed on cache reset by user.
|
| bool IsRemovedOnCacheReset(const OfflinePageItem& offline_page) const;
|
|
|