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

Unified Diff: components/offline_pages/offline_page_model_impl.h

Issue 2112183002: [Offline Pages] Refactoring deletion of pages with same urls. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: comments. Created 4 years, 5 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
« no previous file with comments | « no previous file | components/offline_pages/offline_page_model_impl.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 afda58cb95f5861694a18595f9c491adec5e1b65..1efb687e3ad325976d84351883ad18f7423d30e0 100644
--- a/components/offline_pages/offline_page_model_impl.h
+++ b/components/offline_pages/offline_page_model_impl.h
@@ -214,8 +214,8 @@ class OfflinePageModelImpl : public OfflinePageModel, public KeyedService {
bool success);
// Callbacks for deleting pages with same URL when saving pages.
- void OnPagesFoundWithSameURL(const ClientId& client_id,
- int64_t offline_id,
+ void DeleteExistingPagesWithSameURL(const OfflinePageItem& offline_page);
+ void OnPagesFoundWithSameURL(const OfflinePageItem& offline_page,
size_t pages_allowed,
const MultipleOfflinePageItemResult& items);
void OnDeleteOldPagesWithSameURL(DeletePageResult result);
« no previous file with comments | « no previous file | components/offline_pages/offline_page_model_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698