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

Unified Diff: components/data_reduction_proxy/core/common/data_reduction_proxy_params.cc

Issue 836583002: Add support for field trial group to relax missing via header bypass logic. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Removed unused include from aw_url_request_context_getter.cc Created 5 years, 11 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 | « components/data_reduction_proxy/core/common/data_reduction_proxy_params.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/data_reduction_proxy/core/common/data_reduction_proxy_params.cc
diff --git a/components/data_reduction_proxy/core/common/data_reduction_proxy_params.cc b/components/data_reduction_proxy/core/common/data_reduction_proxy_params.cc
index aac5182d767e3082b80343cf6e2105529a93453d..04f16b456f88a753578443d020b5b685b353b739 100644
--- a/components/data_reduction_proxy/core/common/data_reduction_proxy_params.cc
+++ b/components/data_reduction_proxy/core/common/data_reduction_proxy_params.cc
@@ -84,6 +84,13 @@ bool DataReductionProxyParams::
}
// static
+bool DataReductionProxyParams::
+ IsIncludedInRelaxMissingViaHeaderOtherBypassFieldTrial() {
+ return FieldTrialList::FindFullName(
+ "DataReductionProxyRemoveMissingViaHeaderOtherBypass") == "Relaxed";
+}
+
+// static
bool DataReductionProxyParams::IsIncludedInAndroidOnePromoFieldTrial(
const char* build_fingerprint) {
base::StringPiece fingerprint(build_fingerprint);
« no previous file with comments | « components/data_reduction_proxy/core/common/data_reduction_proxy_params.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698