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

Side by Side Diff: chrome/browser/first_run/first_run_internal.h

Issue 14683012: Merge 198707 "Record first run startup metrics." (Closed) Base URL: svn://svn.chromium.org/chrome/branches/1500/src/
Patch Set: Created 7 years, 7 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) 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_FIRST_RUN_FIRST_RUN_INTERNAL_H_ 5 #ifndef CHROME_BROWSER_FIRST_RUN_FIRST_RUN_INTERNAL_H_
6 #define CHROME_BROWSER_FIRST_RUN_FIRST_RUN_INTERNAL_H_ 6 #define CHROME_BROWSER_FIRST_RUN_FIRST_RUN_INTERNAL_H_
7 7
8 #include <vector> 8 #include <vector>
9 9
10 #include "base/basictypes.h" 10 #include "base/basictypes.h"
(...skipping 82 matching lines...) Expand 10 before | Expand all | Expand 10 after
93 93
94 // Sets up master preferences by preferences passed by installer. 94 // Sets up master preferences by preferences passed by installer.
95 void SetupMasterPrefsFromInstallPrefs( 95 void SetupMasterPrefsFromInstallPrefs(
96 const installer::MasterPreferences& install_prefs, 96 const installer::MasterPreferences& install_prefs,
97 MasterPrefs* out_prefs); 97 MasterPrefs* out_prefs);
98 98
99 void SetDefaultBrowser(installer::MasterPreferences* install_prefs); 99 void SetDefaultBrowser(installer::MasterPreferences* install_prefs);
100 100
101 // -- Platform-specific functions -- 101 // -- Platform-specific functions --
102 102
103 void DoPostImportPlatformSpecificTasks(); 103 void DoPostImportPlatformSpecificTasks(Profile* profile);
104 104
105 // Gives the full path to the sentinel file. The file might not exist. 105 // Gives the full path to the sentinel file. The file might not exist.
106 // This function has a common implementation on OS_POSIX and a windows specific 106 // This function has a common implementation on OS_POSIX and a windows specific
107 // implementation. 107 // implementation.
108 bool GetFirstRunSentinelFilePath(base::FilePath* path); 108 bool GetFirstRunSentinelFilePath(base::FilePath* path);
109 109
110 // This function has a common implementationin for all non-linux platforms, and 110 // This function has a common implementationin for all non-linux platforms, and
111 // a linux specific implementation. 111 // a linux specific implementation.
112 bool IsOrganicFirstRun(); 112 bool IsOrganicFirstRun();
113 113
(...skipping 24 matching lines...) Expand all
138 // should exit. 138 // should exit.
139 bool ShowPostInstallEULAIfNeeded(installer::MasterPreferences* install_prefs); 139 bool ShowPostInstallEULAIfNeeded(installer::MasterPreferences* install_prefs);
140 140
141 // Returns the path for the master preferences file. 141 // Returns the path for the master preferences file.
142 base::FilePath MasterPrefsPath(); 142 base::FilePath MasterPrefsPath();
143 143
144 } // namespace internal 144 } // namespace internal
145 } // namespace first_run 145 } // namespace first_run
146 146
147 #endif // CHROME_BROWSER_FIRST_RUN_FIRST_RUN_INTERNAL_H_ 147 #endif // CHROME_BROWSER_FIRST_RUN_FIRST_RUN_INTERNAL_H_
OLDNEW
« no previous file with comments | « chrome/browser/first_run/first_run_dialog.h ('k') | chrome/browser/first_run/first_run_posix.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698