| 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_BRIDGE_H_ | 5 #ifndef CHROME_BROWSER_IMPORTER_IMPORTER_BRIDGE_H_ |
| 6 #define CHROME_BROWSER_IMPORTER_IMPORTER_BRIDGE_H_ | 6 #define CHROME_BROWSER_IMPORTER_IMPORTER_BRIDGE_H_ |
| 7 #pragma once | 7 #pragma once |
| 8 | 8 |
| 9 #include "build/build_config.h" | |
| 10 | |
| 11 #include <vector> | 9 #include <vector> |
| 12 | 10 |
| 13 #include "base/basictypes.h" | 11 #include "base/basictypes.h" |
| 14 #include "base/ref_counted.h" | 12 #include "base/ref_counted.h" |
| 15 #include "base/scoped_ptr.h" | 13 #include "base/scoped_ptr.h" |
| 16 #include "chrome/browser/browser_thread.h" | |
| 17 #include "chrome/browser/importer/importer_data_types.h" | 14 #include "chrome/browser/importer/importer_data_types.h" |
| 18 // TODO: remove this, see friend declaration in ImporterBridge. | 15 // TODO: remove this, see friend declaration in ImporterBridge. |
| 19 #include "chrome/browser/importer/toolbar_importer.h" | 16 #include "chrome/browser/importer/toolbar_importer.h" |
| 20 | 17 |
| 21 class ProfileImportThread; | 18 class ProfileImportThread; |
| 22 class DictionaryValue; | 19 class DictionaryValue; |
| 23 class ImporterHost; | 20 class ImporterHost; |
| 24 | 21 |
| 25 class ImporterBridge : public base::RefCountedThreadSafe<ImporterBridge> { | 22 class ImporterBridge : public base::RefCountedThreadSafe<ImporterBridge> { |
| 26 public: | 23 public: |
| (...skipping 135 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 162 ProfileImportThread* const profile_import_thread_; | 159 ProfileImportThread* const profile_import_thread_; |
| 163 | 160 |
| 164 // Holds strings needed by the external importer because the resource | 161 // Holds strings needed by the external importer because the resource |
| 165 // bundle isn't available to the external process. | 162 // bundle isn't available to the external process. |
| 166 scoped_ptr<DictionaryValue> localized_strings_; | 163 scoped_ptr<DictionaryValue> localized_strings_; |
| 167 | 164 |
| 168 DISALLOW_COPY_AND_ASSIGN(ExternalProcessImporterBridge); | 165 DISALLOW_COPY_AND_ASSIGN(ExternalProcessImporterBridge); |
| 169 }; | 166 }; |
| 170 | 167 |
| 171 #endif // CHROME_BROWSER_IMPORTER_IMPORTER_BRIDGE_H_ | 168 #endif // CHROME_BROWSER_IMPORTER_IMPORTER_BRIDGE_H_ |
| OLD | NEW |