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

Unified Diff: components/offline_pages/offline_page_switches.cc

Issue 1772233003: Flag for Background Loading of Offline Pages. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Adjust line spacing Created 4 years, 9 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_switches.cc
diff --git a/components/offline_pages/offline_page_switches.cc b/components/offline_pages/offline_page_switches.cc
index e326a179069f131417316639be670e0ec02c17ef..28efdc927dc0b09b5d38b14eca081551cd7710c9 100644
--- a/components/offline_pages/offline_page_switches.cc
+++ b/components/offline_pages/offline_page_switches.cc
@@ -20,4 +20,12 @@ const char kEnableOfflinePagesAsBookmarks[] =
const char kEnableOfflinePagesAsSavedPages[] =
"enable-offline-pages-as-saved-pages";
+// Enable using saving offline pages in the background.
+const char kEnableOfflinePagesBackgroundLoading[] =
+ "enable-offline-pages-background-loading";
+
+// Disable using saving offline pages in the background.
+const char kDisableOfflinePagesBackgroundLoading[] =
+ "disable-offline-pages-background-loading";
+
} // namespace switches
« chrome/app/generated_resources.grd ('K') | « components/offline_pages/offline_page_switches.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698