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

Unified Diff: components/offline_pages/offline_page_model_impl.h

Issue 2336973005: [Offline Pages] Removes the unused "HasPages" function. (Closed)
Patch Set: 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
« no previous file with comments | « components/offline_pages/offline_page_model.h ('k') | 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 20f9cc2e8cd95048cb108605f289e8c19af9bbb6..d220c0fff13e20ff317fe3e933a8852317819acf 100644
--- a/components/offline_pages/offline_page_model_impl.h
+++ b/components/offline_pages/offline_page_model_impl.h
@@ -79,8 +79,6 @@ class OfflinePageModelImpl : public OfflinePageModel, public KeyedService {
void DeleteCachedPagesByURLPredicate(
const UrlPredicate& predicate,
const DeletePageCallback& callback) override;
- void HasPages(const std::string& name_space,
- const HasPagesCallback& callback) override;
void CheckPagesExistOffline(
const std::set<GURL>& urls,
const CheckPagesExistOfflineCallback& callback) override;
@@ -162,10 +160,6 @@ class OfflinePageModelImpl : public OfflinePageModel, public KeyedService {
void MarkPageAccessedWhenLoadDone(int64_t offline_id);
void CheckMetadataConsistencyWhenLoadDone();
- // Callback for checking whether we have offline pages.
- void HasPagesAfterLoadDone(const std::string& name_space,
- const HasPagesCallback& callback) const;
-
// Callback for loading pages from the offline page metadata store.
void OnLoadDone(const base::TimeTicks& start_time,
OfflinePageMetadataStore::LoadStatus load_status,
« no previous file with comments | « components/offline_pages/offline_page_model.h ('k') | components/offline_pages/offline_page_model_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698