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

Unified Diff: chrome/browser/android/offline_pages/offline_page_utils.cc

Issue 1899433002: Update flags used by offline pages and bookmarks (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: chrome/browser/android/offline_pages/offline_page_utils.cc
diff --git a/chrome/browser/android/offline_pages/offline_page_utils.cc b/chrome/browser/android/offline_pages/offline_page_utils.cc
index a2595778044a5efa3df262f05d5e16dae2f5e8b4..ee5c94059a8a25de508eaf920631e93362490269 100644
--- a/chrome/browser/android/offline_pages/offline_page_utils.cc
+++ b/chrome/browser/android/offline_pages/offline_page_utils.cc
@@ -24,7 +24,7 @@ const offline_pages::OfflinePageItem* GetOfflinePageForOnlineURL(
const GURL& online_url) {
DCHECK(browser_context);
- if (!offline_pages::IsOfflinePagesEnabled())
+ if (!offline_pages::IsOfflineBookmarksEnabled())
fgorski 2016/04/18 17:09:36 This is a bit tricky. I don't think we should be c
jianli 2016/04/18 21:17:00 Done.
return nullptr;
offline_pages::OfflinePageModel* offline_page_model =
@@ -42,7 +42,7 @@ const offline_pages::OfflinePageItem* GetOfflinePageForOfflineURL(
const GURL& offline_url) {
DCHECK(browser_context);
- if (!offline_pages::IsOfflinePagesEnabled())
+ if (!offline_pages::IsOfflineBookmarksEnabled())
return nullptr;
// Note that we first check if the url likely points to an offline page
@@ -135,7 +135,7 @@ bool OfflinePageUtils::HasOfflinePages(
content::BrowserContext* browser_context) {
DCHECK(browser_context);
- if (!offline_pages::IsOfflinePagesEnabled())
+ if (!offline_pages::IsOfflineBookmarksEnabled())
return false;
offline_pages::OfflinePageModel* offline_page_model =

Powered by Google App Engine
This is Rietveld 408576698