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

Unified Diff: chrome/android/java/src/org/chromium/chrome/browser/ChromeSwitches.java

Issue 1772233003: Flag for Background Loading of Offline Pages. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: 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: chrome/android/java/src/org/chromium/chrome/browser/ChromeSwitches.java
diff --git a/chrome/android/java/src/org/chromium/chrome/browser/ChromeSwitches.java b/chrome/android/java/src/org/chromium/chrome/browser/ChromeSwitches.java
index 611624277340ea66fd1f1eccc88a7cff7b922430..0cfe51cd9af0a665aaf41aa5154b1d5718d044ff 100644
--- a/chrome/android/java/src/org/chromium/chrome/browser/ChromeSwitches.java
+++ b/chrome/android/java/src/org/chromium/chrome/browser/ChromeSwitches.java
@@ -197,6 +197,20 @@ public abstract class ChromeSwitches {
public static final String DISABLE_OFFLINE_PAGES = "disable-offline-pages";
/**
+ * Enables offline pages to be able to be saved in the background.
+ * Native switch - switches::kEnableOfflinePagesBackgroundLoading
+ */
+ public static final String ENABLE_OFFLINE_PAGES_BACKGROUND_LOADING =
+ "enable-offline-pages-background-loading";
+
+ /**
+ * Disables offline pages from being able to be saved in the background.
+ * Native switch - switches::kDisableOfflinePagesBackgroundLoading
+ */
+ public static final String DISABLE_OFFLINE_PAGES_BACKGROUND_LOADING =
+ "disable-offline-pages-background-loading";
+
+ /**
* Enable keyboard accessory view that shows autofill suggestions on top of the keyboard.
* Native switch - autofill::switches::kEnableAccessorySuggestionView
*/

Powered by Google App Engine
This is Rietveld 408576698