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

Unified Diff: chrome/common/chrome_switches.cc

Issue 23458016: Added probe to determine if data reduction proxy can be used (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fixed test Created 7 years, 2 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
« no previous file with comments | « chrome/common/chrome_switches.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/common/chrome_switches.cc
diff --git a/chrome/common/chrome_switches.cc b/chrome/common/chrome_switches.cc
index 512c07a918881d19e46adea0cb26f1843e159531..77e9adcfd2d5b4dffeaab893e05b6f60ab6ebc28 100644
--- a/chrome/common/chrome_switches.cc
+++ b/chrome/common/chrome_switches.cc
@@ -245,6 +245,12 @@ const char kCrashOnHangThreads[] = "crash-on-hang-threads";
const char kCreateBrowserOnStartupForTests[] =
"create-browser-on-startup-for-tests";
+#if defined(OS_ANDROID) || defined(OS_IOS)
+// If set, the data reduction proxy will only be enabled if a request for this
+// URL is successful.
+const char kDataReductionProxyProbeURL[] = "data-reduction-proxy-probe-url";
+#endif
+
// Enables a frame context menu item that toggles the frame in and out of glass
// mode (Windows Vista and up only).
const char kDebugEnableFrameToggle[] = "debug-enable-frame-toggle";
@@ -1336,6 +1342,9 @@ const char kSimulateOutdated[] = "simulate-outdated";
// Origin for which SpdyProxy authentication is supported.
const char kSpdyProxyAuthOrigin[] = "spdy-proxy-auth-origin";
+// Authentication string for the data reduction proxy.
+const char kSpdyProxyAuthValue[] = "spdy-proxy-auth-value";
+
// Speculative resource prefetching.
const char kSpeculativeResourcePrefetching[] =
"speculative-resource-prefetching";
« no previous file with comments | « chrome/common/chrome_switches.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698