OLD | NEW |
1 // Copyright (c) 2009 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2009 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_H_ | 5 #ifndef CHROME_BROWSER_FIRST_RUN_H_ |
6 #define CHROME_BROWSER_FIRST_RUN_H_ | 6 #define CHROME_BROWSER_FIRST_RUN_H_ |
7 | 7 |
8 #include <string> | 8 #include <string> |
9 #include <vector> | 9 #include <vector> |
10 | 10 |
| 11 #include "app/gfx/native_widget_types.h" |
11 #include "base/basictypes.h" | 12 #include "base/basictypes.h" |
12 #include "base/gfx/native_widget_types.h" | |
13 #include "chrome/browser/browser_process_impl.h" | 13 #include "chrome/browser/browser_process_impl.h" |
14 | 14 |
15 class CommandLine; | 15 class CommandLine; |
16 class FilePath; | 16 class FilePath; |
17 class Profile; | 17 class Profile; |
18 class ProcessSingleton; | 18 class ProcessSingleton; |
19 | 19 |
20 // This class contains the chrome first-run installation actions needed to | 20 // This class contains the chrome first-run installation actions needed to |
21 // fully test the custom installer. It also contains the opposite actions to | 21 // fully test the custom installer. It also contains the opposite actions to |
22 // execute during uninstall. When the first run UI is ready we won't | 22 // execute during uninstall. When the first run UI is ready we won't |
(...skipping 134 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
157 // while the First Run UI is visible. | 157 // while the First Run UI is visible. |
158 // |homepage_defined| true indicates that homepage is defined in master | 158 // |homepage_defined| true indicates that homepage is defined in master |
159 // preferences and should not be imported from another browser. | 159 // preferences and should not be imported from another browser. |
160 // Returns true if the user clicked "Start", false if the user pressed "Cancel" | 160 // Returns true if the user clicked "Start", false if the user pressed "Cancel" |
161 // or closed the dialog. | 161 // or closed the dialog. |
162 bool OpenFirstRunDialog(Profile* profile, | 162 bool OpenFirstRunDialog(Profile* profile, |
163 bool homepage_defined, | 163 bool homepage_defined, |
164 ProcessSingleton* process_singleton); | 164 ProcessSingleton* process_singleton); |
165 | 165 |
166 #endif // CHROME_BROWSER_FIRST_RUN_H_ | 166 #endif // CHROME_BROWSER_FIRST_RUN_H_ |
OLD | NEW |