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

Unified Diff: components/offline_pages/offline_page_model.h

Issue 1921563005: [Offline Pages] Remove obsolete synchronous API methods. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 8 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.h
diff --git a/components/offline_pages/offline_page_model.h b/components/offline_pages/offline_page_model.h
index cad35565f61f8283da1eb0f10437f9aa738c71a4..d95da58fbd9390a6bd4fce9826e466f628854480 100644
--- a/components/offline_pages/offline_page_model.h
+++ b/components/offline_pages/offline_page_model.h
@@ -174,14 +174,6 @@ class OfflinePageModel : public KeyedService, public base::SupportsUserData {
const base::Callback<bool(const GURL&)>& predicate,
const DeletePageCallback& callback);
- // Returns true if there are offline pages in the given |name_space|. This
- // method is sync, so the result can be wrong depending on implementation
- // details of the model.
- //
- // Currently, this will return |false| if the model is not loaded, even if
- // there are pages on disk.
- bool MaybeHasPages(const std::string& name_space) const;
-
// Returns true via callback if there are offline pages in the given
// |name_space|.
void HasPages(const std::string& name_space,

Powered by Google App Engine
This is Rietveld 408576698