OLD | NEW |
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_FIRST_RUN_FIRST_RUN_H_ | 5 #ifndef CHROME_BROWSER_FIRST_RUN_FIRST_RUN_H_ |
6 #define CHROME_BROWSER_FIRST_RUN_FIRST_RUN_H_ | 6 #define CHROME_BROWSER_FIRST_RUN_FIRST_RUN_H_ |
7 #pragma once | 7 #pragma once |
8 | 8 |
9 #include <vector> | 9 #include <vector> |
10 | 10 |
11 #include "base/basictypes.h" | 11 #include "base/basictypes.h" |
12 #include "chrome/browser/browser_process_impl.h" | 12 #include "chrome/browser/browser_process_impl.h" |
13 #include "chrome/browser/importer/importer.h" | 13 #include "chrome/browser/importer/importer.h" |
14 #include "chrome/common/result_codes.h" | 14 #include "chrome/common/result_codes.h" |
15 #include "gfx/native_widget_types.h" | |
16 #include "googleurl/src/gurl.h" | 15 #include "googleurl/src/gurl.h" |
| 16 #include "ui/gfx/native_widget_types.h" |
17 | 17 |
18 class CommandLine; | 18 class CommandLine; |
19 class FilePath; | 19 class FilePath; |
20 class Profile; | 20 class Profile; |
21 class ProcessSingleton; | 21 class ProcessSingleton; |
22 | 22 |
23 // This class contains the chrome first-run installation actions needed to | 23 // This class contains the chrome first-run installation actions needed to |
24 // fully test the custom installer. It also contains the opposite actions to | 24 // fully test the custom installer. It also contains the opposite actions to |
25 // execute during uninstall. When the first run UI is ready we won't | 25 // execute during uninstall. When the first run UI is ready we won't |
26 // do the actions unconditionally. Currently the only action is to create a | 26 // do the actions unconditionally. Currently the only action is to create a |
(...skipping 280 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
307 void RunLoop(); | 307 void RunLoop(); |
308 | 308 |
309 private: | 309 private: |
310 void Finish(); | 310 void Finish(); |
311 bool loop_running_; | 311 bool loop_running_; |
312 int import_result_; | 312 int import_result_; |
313 DISALLOW_COPY_AND_ASSIGN(FirstRunImportObserver); | 313 DISALLOW_COPY_AND_ASSIGN(FirstRunImportObserver); |
314 }; | 314 }; |
315 | 315 |
316 #endif // CHROME_BROWSER_FIRST_RUN_FIRST_RUN_H_ | 316 #endif // CHROME_BROWSER_FIRST_RUN_FIRST_RUN_H_ |
OLD | NEW |