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

Unified Diff: components/data_reduction_proxy/browser/data_reduction_proxy_params.h

Issue 332313003: Add Finch experiment for selectively bypassing proxies. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: callback design (not yet done) Created 6 years, 6 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/data_reduction_proxy/browser/data_reduction_proxy_params.h
diff --git a/components/data_reduction_proxy/browser/data_reduction_proxy_params.h b/components/data_reduction_proxy/browser/data_reduction_proxy_params.h
index 5ae00b839485b3eed085aeecb62aeacdc5371a21..3989777e254250c56dbac1db6ffc92d791f43148 100644
--- a/components/data_reduction_proxy/browser/data_reduction_proxy_params.h
+++ b/components/data_reduction_proxy/browser/data_reduction_proxy_params.h
@@ -49,6 +49,10 @@ class DataReductionProxyParams {
// hinting.
static bool IsIncludedInPreconnectHintingFieldTrial();
+ // Returns true if this client is part of a field trial that bypasses the
+ // proxy if the request resource type is on the critical path (e.g. HTML).
+ static bool IsIncludedInCriticalPathBypassFieldTrial();
+
// Returns true if the authentication key was set on the command line.
static bool IsKeySetOnCommandLine();

Powered by Google App Engine
This is Rietveld 408576698