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

Unified Diff: components/offline_pages/offline_page_feature.h

Issue 2477943002: [Offline Pages] Remove a debugging feature and a misleading flag. (Closed)
Patch Set: Rebased. Created 4 years, 1 month 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_feature.h
diff --git a/components/offline_pages/offline_page_feature.h b/components/offline_pages/offline_page_feature.h
index 7e9618f78b39dfd7070fd21525e69bed01e1a5fa..202e6923ec198f2a67ad4c7d8d80ff895d07f682 100644
--- a/components/offline_pages/offline_page_feature.h
+++ b/components/offline_pages/offline_page_feature.h
@@ -12,7 +12,6 @@ namespace offline_pages {
extern const base::Feature kOfflineBookmarksFeature;
extern const base::Feature kOffliningRecentPagesFeature;
-extern const base::Feature kOfflinePagesBackgroundLoadingFeature;
extern const base::Feature kOfflinePagesCTFeature;
extern const base::Feature kOfflinePagesSharingFeature;
extern const base::Feature kBackgroundLoaderForDownloadsFeature;
@@ -24,15 +23,14 @@ bool IsOfflineBookmarksEnabled();
// Returns true if offlining of recent pages (aka 'Last N pages') is enabled.
bool IsOffliningRecentPagesEnabled();
-// Returns true if saving offline pages in the background is enabled.
-bool IsOfflinePagesBackgroundLoadingEnabled();
-
// Returns true if offline CT features are enabled. See crbug.com/620421.
bool IsOfflinePagesCTEnabled();
// Returns true if offline page sharing is enabled.
bool IsOfflinePagesSharingEnabled();
+// Returns true if saving a foreground tab that is taking too long using the
+// background scheduler is enabled.
bool IsBackgroundLoaderForDownloadsEnabled();
// Returns true if downloading a page asynchonously is enabled.
« no previous file with comments | « chrome/browser/android/offline_pages/offline_page_bridge.cc ('k') | components/offline_pages/offline_page_feature.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698