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

Unified Diff: components/offline_pages/offline_page_metadata_store.h

Issue 1345043002: Update access info when an offline page is being visited (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Some more fixes Created 5 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_metadata_store.h
diff --git a/components/offline_pages/offline_page_metadata_store.h b/components/offline_pages/offline_page_metadata_store.h
index 18620bdd612e80ef31cabccac5966de799b0cb55..d50159f79e19e073a5b2a784653a696d9a1b2d73 100644
--- a/components/offline_pages/offline_page_metadata_store.h
+++ b/components/offline_pages/offline_page_metadata_store.h
@@ -32,10 +32,10 @@ class OfflinePageMetadataStore {
// Get all of the offline pages from the store.
virtual void Load(const LoadCallback& callback) = 0;
- // Asynchronously adds offline page metadata to the store.
+ // Asynchronously adds or updates offline page metadata to the store.
// Result of the update is passed in callback.
- virtual void AddOfflinePage(const OfflinePageItem& offline_page,
- const UpdateCallback& callback) = 0;
+ virtual void AddOrUpdateOfflinePage(const OfflinePageItem& offline_page,
+ const UpdateCallback& callback) = 0;
// Asynchronously removes offline page metadata from the store.
// Result of the update is passed in callback.
« no previous file with comments | « components/offline_pages/offline_page_item.cc ('k') | components/offline_pages/offline_page_metadata_store_impl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698