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

Unified Diff: components/offline_pages/offline_page_model_impl.h

Issue 2339693002: [Offline pages] Splitting Add and Update methods in OPMStore (Closed)
Patch Set: Addressing feedback 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_impl.h
diff --git a/components/offline_pages/offline_page_model_impl.h b/components/offline_pages/offline_page_model_impl.h
index 20f9cc2e8cd95048cb108605f289e8c19af9bbb6..2b7d5e10aaa731170f70b2f09ca778ce7335fa32 100644
--- a/components/offline_pages/offline_page_model_impl.h
+++ b/components/offline_pages/offline_page_model_impl.h
@@ -186,7 +186,7 @@ class OfflinePageModelImpl : public OfflinePageModel, public KeyedService {
void OnAddOfflinePageDone(OfflinePageArchiver* archiver,
const SavePageCallback& callback,
const OfflinePageItem& offline_page,
- bool success);
+ OfflinePageMetadataStore::ItemActionStatus status);
void InformSavePageDone(const SavePageCallback& callback,
SavePageResult result,
const ClientId& client_id,
@@ -249,7 +249,7 @@ class OfflinePageModelImpl : public OfflinePageModel, public KeyedService {
const DeletePageCallback& callback);
// Callback completing page expiration.
- void OnExpirePageDone(int64_t offline_id,
+ void OnExpirePageDone(const std::vector<OfflinePageItem>& expired_pages,
const base::Time& expiration_time,
bool success);
« no previous file with comments | « components/offline_pages/offline_page_metadata_store_sql.cc ('k') | components/offline_pages/offline_page_model_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698