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

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

Issue 7508034: Make a pre-read A/B field-trial (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
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 // Contains functions used by BrowserMain() that are win32-specific. 5 // Contains functions used by BrowserMain() that are win32-specific.
6 6
7 #ifndef CHROME_BROWSER_BROWSER_MAIN_WIN_H_ 7 #ifndef CHROME_BROWSER_BROWSER_MAIN_WIN_H_
8 #define CHROME_BROWSER_BROWSER_MAIN_WIN_H_ 8 #define CHROME_BROWSER_BROWSER_MAIN_WIN_H_
9 #pragma once 9 #pragma once
10 10
(...skipping 19 matching lines...) Expand all
30 // HideIconsCommand & ShowIconsCommand. Chrome doesn't support hide icons 30 // HideIconsCommand & ShowIconsCommand. Chrome doesn't support hide icons
31 // functionality so we just ask the users if they want to uninstall Chrome. 31 // functionality so we just ask the users if they want to uninstall Chrome.
32 int HandleIconsCommands(const CommandLine& parsed_command_line); 32 int HandleIconsCommands(const CommandLine& parsed_command_line);
33 33
34 // Check if there is any machine level Chrome installed on the current 34 // Check if there is any machine level Chrome installed on the current
35 // machine. If yes and the current Chrome process is user level, we do not 35 // machine. If yes and the current Chrome process is user level, we do not
36 // allow the user level Chrome to run. So we notify the user and uninstall 36 // allow the user level Chrome to run. So we notify the user and uninstall
37 // user level Chrome. 37 // user level Chrome.
38 bool CheckMachineLevelInstall(); 38 bool CheckMachineLevelInstall();
39 39
40 // Records a Startup category value to an UMA histogram in the context of the
41 // PreReadExperiment field-trial. This will also report to the appropriate
42 // Startup.HistogramName_PreRead(Enabled|Disabled) histogram as appropriate.
43 // This is only called from OS_WIN specific code, so the implementation is
44 // in browser_main_win.cc. This is a Windows specific experiment.
45 void RecordPreReadExperimentTime(const char* name, base::TimeDelta time);
46
40 #endif // CHROME_BROWSER_BROWSER_MAIN_WIN_H_ 47 #endif // CHROME_BROWSER_BROWSER_MAIN_WIN_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698