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

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

Issue 806053003: Set the Flywheel promo rate for Android One devices to be 100%. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase 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
Index: components/data_reduction_proxy/core/common/data_reduction_proxy_params.h
diff --git a/components/data_reduction_proxy/core/common/data_reduction_proxy_params.h b/components/data_reduction_proxy/core/common/data_reduction_proxy_params.h
index 65230e55d8d607efef2147f48c362bc7f7e6446c..cba1871e8c5e9b02f7f0c3e37d6abdaf021ddba6 100644
--- a/components/data_reduction_proxy/core/common/data_reduction_proxy_params.h
+++ b/components/data_reduction_proxy/core/common/data_reduction_proxy_params.h
@@ -86,6 +86,11 @@ class DataReductionProxyParams {
// the data reduction proxy via header is missing.
static bool IsIncludedInRemoveMissingViaHeaderOtherBypassFieldTrial();
+ // Returns true if this client is part of the field trial that should display
+ // a promotion for the data reduction proxy on Android One devices.
+ static bool IsIncludedInAndroidOnePromoFieldTrial(
+ const char* build_fingerprint);
+
// Constructs configuration parameters. If |kAllowed|, then the standard
// data reduction proxy configuration is allowed to be used. If
// |kfallbackAllowed| a fallback proxy can be used if the primary proxy is

Powered by Google App Engine
This is Rietveld 408576698