| OLD | NEW |
| 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_IMPORTER_EXTERNAL_PROCESS_IMPORTER_HOST_H_ | 5 #ifndef CHROME_BROWSER_IMPORTER_EXTERNAL_PROCESS_IMPORTER_HOST_H_ |
| 6 #define CHROME_BROWSER_IMPORTER_EXTERNAL_PROCESS_IMPORTER_HOST_H_ | 6 #define CHROME_BROWSER_IMPORTER_EXTERNAL_PROCESS_IMPORTER_HOST_H_ |
| 7 | 7 |
| 8 #include "base/basictypes.h" | 8 #include "base/basictypes.h" |
| 9 #include "base/compiler_specific.h" | 9 #include "base/compiler_specific.h" |
| 10 #include "base/memory/ref_counted.h" | 10 #include "base/memory/ref_counted.h" |
| 11 #include "base/memory/scoped_ptr.h" | 11 #include "base/memory/scoped_ptr.h" |
| 12 #include "base/memory/weak_ptr.h" | 12 #include "base/memory/weak_ptr.h" |
| 13 #include "chrome/browser/importer/importer_progress_observer.h" | 13 #include "chrome/browser/importer/importer_progress_observer.h" |
| 14 #include "chrome/browser/importer/profile_writer.h" | 14 #include "chrome/browser/importer/profile_writer.h" |
| 15 #include "chrome/browser/search_engines/template_url_service.h" | 15 #include "chrome/browser/search_engines/template_url_service.h" |
| 16 #include "chrome/common/importer/importer_data_types.h" | 16 #include "chrome/common/importer/importer_data_types.h" |
| 17 #include "components/bookmarks/core/browser/base_bookmark_model_observer.h" | 17 #include "components/bookmarks/browser/base_bookmark_model_observer.h" |
| 18 #include "ui/gfx/native_widget_types.h" | 18 #include "ui/gfx/native_widget_types.h" |
| 19 | 19 |
| 20 class ExternalProcessImporterClient; | 20 class ExternalProcessImporterClient; |
| 21 class FirefoxProfileLock; | 21 class FirefoxProfileLock; |
| 22 class Importer; | 22 class Importer; |
| 23 class Profile; | 23 class Profile; |
| 24 | 24 |
| 25 namespace importer { | 25 namespace importer { |
| 26 struct SourceProfile; | 26 struct SourceProfile; |
| 27 } | 27 } |
| (...skipping 126 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 154 // True if the import process has been cancelled. | 154 // True if the import process has been cancelled. |
| 155 bool cancelled_; | 155 bool cancelled_; |
| 156 | 156 |
| 157 // Vends weak pointers for the importer to call us back. | 157 // Vends weak pointers for the importer to call us back. |
| 158 base::WeakPtrFactory<ExternalProcessImporterHost> weak_ptr_factory_; | 158 base::WeakPtrFactory<ExternalProcessImporterHost> weak_ptr_factory_; |
| 159 | 159 |
| 160 DISALLOW_COPY_AND_ASSIGN(ExternalProcessImporterHost); | 160 DISALLOW_COPY_AND_ASSIGN(ExternalProcessImporterHost); |
| 161 }; | 161 }; |
| 162 | 162 |
| 163 #endif // CHROME_BROWSER_IMPORTER_EXTERNAL_PROCESS_IMPORTER_HOST_H_ | 163 #endif // CHROME_BROWSER_IMPORTER_EXTERNAL_PROCESS_IMPORTER_HOST_H_ |
| OLD | NEW |