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

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

Issue 10753022: TLS channel id field trial. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 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
« no previous file with comments | « no previous file | 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) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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 122 matching lines...) Expand 10 before | Expand all | Expand 10 after
133 void AutoLaunchChromeFieldTrial(); 133 void AutoLaunchChromeFieldTrial();
134 134
135 // A collection of one-time-randomized and session-randomized field trials 135 // A collection of one-time-randomized and session-randomized field trials
136 // intended to test the uniformity and correctness of the field trial control, 136 // intended to test the uniformity and correctness of the field trial control,
137 // bucketing and reporting systems. 137 // bucketing and reporting systems.
138 void SetupUniformityFieldTrials(); 138 void SetupUniformityFieldTrials();
139 139
140 // Disables the new tab field trial if not running in desktop mode. 140 // Disables the new tab field trial if not running in desktop mode.
141 void DisableNewTabFieldTrialIfNecesssary(); 141 void DisableNewTabFieldTrialIfNecesssary();
142 142
143 // Field trial for testing TLS channel id.
144 void ChannelIDFieldTrial();
145
143 // Methods for |SetupMetricsAndFieldTrials()| -------------------------------- 146 // Methods for |SetupMetricsAndFieldTrials()| --------------------------------
144 147
145 // Constructs metrics service and does related initialization, including 148 // Constructs metrics service and does related initialization, including
146 // creation of field trials. Call only after labs have been converted to 149 // creation of field trials. Call only after labs have been converted to
147 // switches. 150 // switches.
148 void SetupMetricsAndFieldTrials(); 151 void SetupMetricsAndFieldTrials();
149 152
150 // Add an invocation of your field trial init function to this method. 153 // Add an invocation of your field trial init function to this method.
151 void SetupFieldTrials(bool proxy_policy_is_set); 154 void SetupFieldTrials(bool proxy_policy_is_set);
152 155
(...skipping 89 matching lines...) Expand 10 before | Expand all | Expand 10 after
242 // Records the time from our process' startup to the present time in 245 // Records the time from our process' startup to the present time in
243 // the Startup.BrowserMessageLoopStartTime UMA histogram. 246 // the Startup.BrowserMessageLoopStartTime UMA histogram.
244 void RecordBrowserStartupTime(); 247 void RecordBrowserStartupTime();
245 248
246 // Records a time value to an UMA histogram in the context of the 249 // Records a time value to an UMA histogram in the context of the
247 // PreReadExperiment field-trial. This also reports to the appropriate 250 // PreReadExperiment field-trial. This also reports to the appropriate
248 // sub-histogram (_PreRead(Enabled|Disabled)). 251 // sub-histogram (_PreRead(Enabled|Disabled)).
249 void RecordPreReadExperimentTime(const char* name, base::TimeDelta time); 252 void RecordPreReadExperimentTime(const char* name, base::TimeDelta time);
250 253
251 #endif // CHROME_BROWSER_CHROME_BROWSER_MAIN_H_ 254 #endif // CHROME_BROWSER_CHROME_BROWSER_MAIN_H_
OLDNEW
« no previous file with comments | « no previous file | chrome/browser/chrome_browser_main.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698