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

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

Issue 7467012: Modifying prefetch to account for multi-profile. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 9 years, 4 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 (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_BROWSER_MAIN_H_ 5 #ifndef CHROME_BROWSER_BROWSER_MAIN_H_
6 #define CHROME_BROWSER_BROWSER_MAIN_H_ 6 #define CHROME_BROWSER_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 125 matching lines...) Expand 10 before | Expand all | Expand 10 after
136 // A/B test for warmest socket vs. most recently used socket. 136 // A/B test for warmest socket vs. most recently used socket.
137 void WarmConnectionFieldTrial(); 137 void WarmConnectionFieldTrial();
138 138
139 // A/B test for automatically establishing a backup TCP connection when a 139 // A/B test for automatically establishing a backup TCP connection when a
140 // specified timeout value is reached. 140 // specified timeout value is reached.
141 void ConnectBackupJobsFieldTrial(); 141 void ConnectBackupJobsFieldTrial();
142 142
143 // A/B test for using a different host prefix in Google search suggest. 143 // A/B test for using a different host prefix in Google search suggest.
144 void SuggestPrefixFieldTrial(); 144 void SuggestPrefixFieldTrial();
145 145
146 // Field trial to see what disabling DNS pre-resolution does to
147 // latency of page loads.
148 void PredictorFieldTrial();
149
146 // Used to initialize NSPR where appropriate. 150 // Used to initialize NSPR where appropriate.
147 virtual void InitializeSSL() = 0; 151 virtual void InitializeSSL() = 0;
148 152
149 // Methods for |MainMessageLoopStart()| -------------------------------------- 153 // Methods for |MainMessageLoopStart()| --------------------------------------
150 154
151 void InitializeMainThread(); 155 void InitializeMainThread();
152 156
153 // Methods for |SetupMetricsAndFieldTrials()| -------------------------------- 157 // Methods for |SetupMetricsAndFieldTrials()| --------------------------------
154 158
155 static MetricsService* InitializeMetrics( 159 static MetricsService* InitializeMetrics(
(...skipping 59 matching lines...) Expand 10 before | Expand all | Expand 10 after
215 void RecordBrowserStartupTime(); 219 void RecordBrowserStartupTime();
216 220
217 // Records a Startup category value to an UMA histogram in the context of the 221 // Records a Startup category value to an UMA histogram in the context of the
218 // PreReadExperiment field-trial. This will also report to the appropriate 222 // PreReadExperiment field-trial. This will also report to the appropriate
219 // Startup.HistogramName_PreRead(Enabled|Disabled) histogram as appropriate. 223 // Startup.HistogramName_PreRead(Enabled|Disabled) histogram as appropriate.
220 // This is only called from OS_WIN specific code, so the implementation is 224 // This is only called from OS_WIN specific code, so the implementation is
221 // in browser_main_win.cc. This is a Windows specific experiment. 225 // in browser_main_win.cc. This is a Windows specific experiment.
222 void RecordPreReadExperimentTime(const char* name, base::TimeDelta time); 226 void RecordPreReadExperimentTime(const char* name, base::TimeDelta time);
223 227
224 #endif // CHROME_BROWSER_BROWSER_MAIN_H_ 228 #endif // CHROME_BROWSER_BROWSER_MAIN_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698