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

Unified Diff: chrome/browser/chrome_browser_field_trials_mobile.cc

Issue 382313003: Add data reduction functionality to all platforms. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Remove incorrect DCHECK from drp_statistics_prefs.cc Created 6 years, 3 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/browser/android/intercept_download_resource_throttle.cc ('k') | chrome/browser/io_thread.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/chrome_browser_field_trials_mobile.cc
diff --git a/chrome/browser/chrome_browser_field_trials_mobile.cc b/chrome/browser/chrome_browser_field_trials_mobile.cc
index 3bc52cbd0175dde139a97ef8d88295f97ccd9682..86be7160ffd556b3be81272ea9a638e8a655c3ef 100644
--- a/chrome/browser/chrome_browser_field_trials_mobile.cc
+++ b/chrome/browser/chrome_browser_field_trials_mobile.cc
@@ -44,23 +44,14 @@ void DataCompressionProxyBaseFieldTrial(
kDisabled, 2015, 1, 1, base::FieldTrial::ONE_TIME_RANDOMIZED, NULL));
// Non-stable channels will run with probability 1.
- const int kEnabledGroup = trial->AppendGroup(
+ trial->AppendGroup(
kEnabled,
kIsStableChannel ? enabled_group_probability : total_probability);
- const int v = trial->group();
- VLOG(1) << trial_name << " enabled group id: " << kEnabledGroup
- << ". Selected group id: " << v;
+ trial->group();
}
-void DataCompressionProxyFieldTrials() {
- // Governs the rollout of the compression proxy for Chrome on mobile
- // platforms. In all channels, the percentage will be controlled from the
- // server, and is configured to be 100% = 1000 / 1000 until overridden by the
- // server.
- DataCompressionProxyBaseFieldTrial(
- "DataCompressionProxyRollout", 1000, 1000);
-
+void SetupDataCompressionProxyFieldTrials() {
// Governs the rollout of the _promo_ for the compression proxy
// independently from the rollout of compression proxy. The enabled
// percentage is configured to be 10% = 100 / 1000 until overridden by the
@@ -73,7 +64,7 @@ void DataCompressionProxyFieldTrials() {
} // namespace
void SetupMobileFieldTrials(const CommandLine& parsed_command_line) {
- DataCompressionProxyFieldTrials();
+ SetupDataCompressionProxyFieldTrials();
#if defined(OS_ANDROID)
prerender::ConfigurePrerender(parsed_command_line);
#endif
« no previous file with comments | « chrome/browser/android/intercept_download_resource_throttle.cc ('k') | chrome/browser/io_thread.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698