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

Side by Side Diff: chrome/browser/chrome_browser_field_trials_mobile.cc

Issue 396753005: Keep all references to kInstallDate inside components/metrics/ (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 5 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 // Copyright 2013 The Chromium Authors. All rights reserved. 1 // Copyright 2013 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include "chrome/browser/chrome_browser_field_trials_mobile.h" 5 #include "chrome/browser/chrome_browser_field_trials_mobile.h"
6 6
7 #include <string> 7 #include <string>
8 8
9 #include "base/command_line.h" 9 #include "base/command_line.h"
10 #include "base/metrics/field_trial.h" 10 #include "base/metrics/field_trial.h"
(...skipping 54 matching lines...) Expand 10 before | Expand all | Expand 10 after
65 // independently from the rollout of compression proxy. The enabled 65 // independently from the rollout of compression proxy. The enabled
66 // percentage is configured to be 10% = 100 / 1000 until overridden by the 66 // percentage is configured to be 10% = 100 / 1000 until overridden by the
67 // server. When this trial is "Enabled," users get a promo, whereas 67 // server. When this trial is "Enabled," users get a promo, whereas
68 // otherwise, compression is available without a promo. 68 // otherwise, compression is available without a promo.
69 DataCompressionProxyBaseFieldTrial( 69 DataCompressionProxyBaseFieldTrial(
70 "DataCompressionProxyPromoVisibility", 100, 1000); 70 "DataCompressionProxyPromoVisibility", 100, 1000);
71 } 71 }
72 72
73 } // namespace 73 } // namespace
74 74
75 void SetupMobileFieldTrials(const CommandLine& parsed_command_line, 75 void SetupMobileFieldTrials(const CommandLine& parsed_command_line) {
76 const base::Time& install_time,
77 PrefService* local_state) {
78 DataCompressionProxyFieldTrials(); 76 DataCompressionProxyFieldTrials();
79 #if defined(OS_ANDROID) 77 #if defined(OS_ANDROID)
80 prerender::ConfigurePrerender(parsed_command_line); 78 prerender::ConfigurePrerender(parsed_command_line);
81 #endif 79 #endif
82 } 80 }
83 81
84 } // namespace chrome 82 } // namespace chrome
OLDNEW
« no previous file with comments | « chrome/browser/chrome_browser_field_trials_mobile.h ('k') | chrome/browser/chrome_browser_main.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698