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

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

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

Powered by Google App Engine
This is Rietveld 408576698