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

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 119 matching lines...) Expand 10 before | Expand all | Expand 10 after
130 // A/B test for warmest socket vs. most recently used socket. 130 // A/B test for warmest socket vs. most recently used socket.
131 void WarmConnectionFieldTrial(); 131 void WarmConnectionFieldTrial();
132 132
133 // A/B test for automatically establishing a backup TCP connection when a 133 // A/B test for automatically establishing a backup TCP connection when a
134 // specified timeout value is reached. 134 // specified timeout value is reached.
135 void ConnectBackupJobsFieldTrial(); 135 void ConnectBackupJobsFieldTrial();
136 136
137 // A/B test for using a different host prefix in Google search suggest. 137 // A/B test for using a different host prefix in Google search suggest.
138 void SuggestPrefixFieldTrial(); 138 void SuggestPrefixFieldTrial();
139 139
140 // Field trial to see what disabling DNS pre-resolution does to
141 // latency of page loads.
142 void PredictorFieldTrial();
143
140 // Used to initialize NSPR where appropriate. 144 // Used to initialize NSPR where appropriate.
141 virtual void InitializeSSL() = 0; 145 virtual void InitializeSSL() = 0;
142 146
143 // Methods for |MainMessageLoopStart()| -------------------------------------- 147 // Methods for |MainMessageLoopStart()| --------------------------------------
144 148
145 void InitializeMainThread(); 149 void InitializeMainThread();
146 150
147 // Methods for |SetupMetricsAndFieldTrials()| -------------------------------- 151 // Methods for |SetupMetricsAndFieldTrials()| --------------------------------
148 152
149 static MetricsService* InitializeMetrics( 153 static MetricsService* InitializeMetrics(
(...skipping 56 matching lines...) Expand 10 before | Expand all | Expand 10 after
206 void RecordBrowserStartupTime(); 210 void RecordBrowserStartupTime();
207 211
208 // Records a Startup category value to an UMA histogram in the context of the 212 // Records a Startup category value to an UMA histogram in the context of the
209 // PreReadExperiment field-trial. This will also report to the appropriate 213 // PreReadExperiment field-trial. This will also report to the appropriate
210 // Startup.HistogramName_PreRead(Enabled|Disabled) histogram as appropriate. 214 // Startup.HistogramName_PreRead(Enabled|Disabled) histogram as appropriate.
211 // This is only called from OS_WIN specific code, so the implementation is 215 // This is only called from OS_WIN specific code, so the implementation is
212 // in browser_main_win.cc. This is a Windows specific experiment. 216 // in browser_main_win.cc. This is a Windows specific experiment.
213 void RecordPreReadExperimentTime(const char* name, base::TimeDelta time); 217 void RecordPreReadExperimentTime(const char* name, base::TimeDelta time);
214 218
215 #endif // CHROME_BROWSER_BROWSER_MAIN_H_ 219 #endif // CHROME_BROWSER_BROWSER_MAIN_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698