OLD | NEW |
1 // Copyright (c) 2010 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2010 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_IMPORTER_IMPORTER_H_ | 5 #ifndef CHROME_BROWSER_IMPORTER_IMPORTER_H_ |
6 #define CHROME_BROWSER_IMPORTER_IMPORTER_H_ | 6 #define CHROME_BROWSER_IMPORTER_IMPORTER_H_ |
7 #pragma once | 7 #pragma once |
8 | 8 |
9 #include <string> | 9 #include <string> |
10 #include <vector> | 10 #include <vector> |
11 | 11 |
12 #include "build/build_config.h" | 12 #include "build/build_config.h" |
13 | 13 |
14 #include "base/basictypes.h" | 14 #include "base/basictypes.h" |
15 #include "base/ref_counted.h" | 15 #include "base/ref_counted.h" |
16 #include "base/scoped_ptr.h" | 16 #include "base/scoped_ptr.h" |
17 #include "chrome/browser/bookmarks/bookmark_model_observer.h" | 17 #include "chrome/browser/bookmarks/bookmark_model_observer.h" |
18 #include "chrome/browser/importer/importer_data_types.h" | 18 #include "chrome/browser/importer/importer_data_types.h" |
19 #include "chrome/browser/importer/importer_list.h" | 19 #include "chrome/browser/importer/importer_list.h" |
20 #include "chrome/browser/importer/profile_writer.h" | 20 #include "chrome/browser/importer/profile_writer.h" |
21 #include "chrome/browser/profile_import_process_host.h" | 21 #include "chrome/browser/profile_import_process_host.h" |
| 22 #include "chrome/common/notification_observer.h" |
22 #include "chrome/common/notification_registrar.h" | 23 #include "chrome/common/notification_registrar.h" |
23 #include "gfx/native_widget_types.h" | 24 #include "gfx/native_widget_types.h" |
24 | 25 |
25 using importer::ImportItem; | 26 using importer::ImportItem; |
26 using importer::ProfileInfo; | 27 using importer::ProfileInfo; |
27 | 28 |
28 class ExternalProcessImporterClient; | 29 class ExternalProcessImporterClient; |
29 class ImporterBridge; | 30 class ImporterBridge; |
30 class InProcessImporterBridge; | 31 class InProcessImporterBridge; |
31 class GURL; | 32 class GURL; |
(...skipping 480 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
512 // first run UI. | 513 // first run UI. |
513 void StartImportingWithUI(gfx::NativeWindow parent_window, | 514 void StartImportingWithUI(gfx::NativeWindow parent_window, |
514 int16 items, | 515 int16 items, |
515 ImporterHost* coordinator, | 516 ImporterHost* coordinator, |
516 const importer::ProfileInfo& source_profile, | 517 const importer::ProfileInfo& source_profile, |
517 Profile* target_profile, | 518 Profile* target_profile, |
518 ImportObserver* observer, | 519 ImportObserver* observer, |
519 bool first_run); | 520 bool first_run); |
520 | 521 |
521 #endif // CHROME_BROWSER_IMPORTER_IMPORTER_H_ | 522 #endif // CHROME_BROWSER_IMPORTER_IMPORTER_H_ |
OLD | NEW |