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

Side by Side Diff: chrome/browser/chrome_browser_main.h

Issue 8729009: Implement an AutoLaunch experiment for Chrome for certain brand codes. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: '' Created 9 years 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
« no previous file with comments | « chrome/browser/auto_launch_trial.cc ('k') | chrome/browser/chrome_browser_main.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 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 #ifndef CHROME_BROWSER_CHROME_BROWSER_MAIN_H_ 5 #ifndef CHROME_BROWSER_CHROME_BROWSER_MAIN_H_
6 #define CHROME_BROWSER_CHROME_BROWSER_MAIN_H_ 6 #define CHROME_BROWSER_CHROME_BROWSER_MAIN_H_
7 #pragma once 7 #pragma once
8 8
9 #include "base/basictypes.h" 9 #include "base/basictypes.h"
10 #include "base/gtest_prod_util.h" 10 #include "base/gtest_prod_util.h"
(...skipping 95 matching lines...) Expand 10 before | Expand all | Expand 10 after
106 void ConnectBackupJobsFieldTrial(); 106 void ConnectBackupJobsFieldTrial();
107 107
108 // Field trial to see what disabling DNS pre-resolution does to 108 // Field trial to see what disabling DNS pre-resolution does to
109 // latency of page loads. 109 // latency of page loads.
110 void PredictorFieldTrial(); 110 void PredictorFieldTrial();
111 111
112 // Field trial to see what effect installing defaults in the NTP apps pane 112 // Field trial to see what effect installing defaults in the NTP apps pane
113 // has on retention and general apps/webstore usage. 113 // has on retention and general apps/webstore usage.
114 void DefaultAppsFieldTrial(); 114 void DefaultAppsFieldTrial();
115 115
116 // A field trial to see what effects launching Chrome automatically on
117 // computer startup has on retention and usage of Chrome.
118 void AutoLaunchChromeFieldTrial();
119
116 // Methods for |SetupMetricsAndFieldTrials()| -------------------------------- 120 // Methods for |SetupMetricsAndFieldTrials()| --------------------------------
117 121
118 // Constructs metrics service and does related initialization, including 122 // Constructs metrics service and does related initialization, including
119 // creation of field trials. Call only after labs have been converted to 123 // creation of field trials. Call only after labs have been converted to
120 // switches. 124 // switches.
121 MetricsService* SetupMetricsAndFieldTrials(PrefService* local_state); 125 MetricsService* SetupMetricsAndFieldTrials(PrefService* local_state);
122 126
123 static MetricsService* InitializeMetrics( 127 static MetricsService* InitializeMetrics(
124 const CommandLine& parsed_command_line, 128 const CommandLine& parsed_command_line,
125 const PrefService* local_state); 129 const PrefService* local_state);
(...skipping 83 matching lines...) Expand 10 before | Expand all | Expand 10 after
209 // Records the time from our process' startup to the present time in 213 // Records the time from our process' startup to the present time in
210 // the UMA histogram |metric_name|. 214 // the UMA histogram |metric_name|.
211 void RecordBrowserStartupTime(); 215 void RecordBrowserStartupTime();
212 216
213 // Records a time value to an UMA histogram in the context of the 217 // Records a time value to an UMA histogram in the context of the
214 // PreReadExperiment field-trial. This also reports to the appropriate 218 // PreReadExperiment field-trial. This also reports to the appropriate
215 // sub-histogram (_PreRead(Enabled|Disabled)). 219 // sub-histogram (_PreRead(Enabled|Disabled)).
216 void RecordPreReadExperimentTime(const char* name, base::TimeDelta time); 220 void RecordPreReadExperimentTime(const char* name, base::TimeDelta time);
217 221
218 #endif // CHROME_BROWSER_CHROME_BROWSER_MAIN_H_ 222 #endif // CHROME_BROWSER_CHROME_BROWSER_MAIN_H_
OLDNEW
« no previous file with comments | « chrome/browser/auto_launch_trial.cc ('k') | chrome/browser/chrome_browser_main.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698