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

Unified Diff: components/offline_pages/offline_page_model.h

Issue 2023293002: OfflinePageModel cleanups - improved CanSavePage() and moved static kInvalidOfflineId to impl (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 7 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 29107e0ac8135d1672cea86259277206246fe1a6..03624f7919d39d1b3abab1185f886567e13110e8 100644
--- a/components/offline_pages/offline_page_model.h
+++ b/components/offline_pages/offline_page_model.h
@@ -25,7 +25,6 @@ class Time;
namespace offline_pages {
static const char* const kBookmarkNamespace = "bookmark";
-static const int64_t kInvalidOfflineId = 0;
struct ClientId;
struct OfflinePageItem;
@@ -79,10 +78,6 @@ class OfflinePageModel : public base::SupportsUserData,
using DeletePageResult = offline_pages::DeletePageResult;
using SavePageResult = offline_pages::SavePageResult;
- // Returns true if an offline copy can be saved for the given URL.
- // TODO(dougarnett): Consider renaming and moving to Utils.
- static bool CanSavePage(const GURL& url);
-
OfflinePageModel();
~OfflinePageModel() override;

Powered by Google App Engine
This is Rietveld 408576698