diff options
Diffstat (limited to 'components/offline_pages/offline_page_metadata_store.h')
-rw-r--r-- | components/offline_pages/offline_page_metadata_store.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/components/offline_pages/offline_page_metadata_store.h b/components/offline_pages/offline_page_metadata_store.h index 18620bd..d50159f 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. |