| 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_IMPORTER_IMPORTER_HOST_H_ | 5 #ifndef CHROME_BROWSER_IMPORTER_IMPORTER_HOST_H_ |
| 6 #define CHROME_BROWSER_IMPORTER_IMPORTER_HOST_H_ | 6 #define CHROME_BROWSER_IMPORTER_IMPORTER_HOST_H_ |
| 7 | 7 |
| 8 #include "base/basictypes.h" | 8 #include "base/basictypes.h" |
| 9 #include "base/callback.h" | 9 #include "base/callback.h" |
| 10 #include "base/compiler_specific.h" | 10 #include "base/compiler_specific.h" |
| 11 #include "base/memory/ref_counted.h" | 11 #include "base/memory/ref_counted.h" |
| 12 #include "base/memory/scoped_ptr.h" | 12 #include "base/memory/scoped_ptr.h" |
| 13 #include "base/memory/weak_ptr.h" | 13 #include "base/memory/weak_ptr.h" |
| 14 #include "chrome/browser/bookmarks/base_bookmark_model_observer.h" | 14 #include "chrome/browser/bookmarks/base_bookmark_model_observer.h" |
| 15 #include "chrome/browser/importer/importer_data_types.h" | |
| 16 #include "chrome/browser/importer/profile_writer.h" | 15 #include "chrome/browser/importer/profile_writer.h" |
| 16 #include "chrome/common/importer/importer_data_types.h" |
| 17 #include "content/public/browser/notification_observer.h" | 17 #include "content/public/browser/notification_observer.h" |
| 18 #include "content/public/browser/notification_registrar.h" | 18 #include "content/public/browser/notification_registrar.h" |
| 19 #include "ui/gfx/native_widget_types.h" | 19 #include "ui/gfx/native_widget_types.h" |
| 20 | 20 |
| 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 class ImporterProgressObserver; | 26 class ImporterProgressObserver; |
| (...skipping 122 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 149 // The observer that we need to notify about changes in the import process. | 149 // The observer that we need to notify about changes in the import process. |
| 150 importer::ImporterProgressObserver* observer_; | 150 importer::ImporterProgressObserver* observer_; |
| 151 | 151 |
| 152 // Firefox profile lock. | 152 // Firefox profile lock. |
| 153 scoped_ptr<FirefoxProfileLock> firefox_lock_; | 153 scoped_ptr<FirefoxProfileLock> firefox_lock_; |
| 154 | 154 |
| 155 DISALLOW_COPY_AND_ASSIGN(ImporterHost); | 155 DISALLOW_COPY_AND_ASSIGN(ImporterHost); |
| 156 }; | 156 }; |
| 157 | 157 |
| 158 #endif // CHROME_BROWSER_IMPORTER_IMPORTER_HOST_H_ | 158 #endif // CHROME_BROWSER_IMPORTER_IMPORTER_HOST_H_ |
| OLD | NEW |