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 | 7 |
8 #include "build/build_config.h" | 8 #include "build/build_config.h" |
9 | 9 |
10 #include <vector> | 10 #include <vector> |
11 | 11 |
12 #include "base/basictypes.h" | 12 #include "base/basictypes.h" |
13 #include "base/string16.h" | 13 #include "base/string16.h" |
14 | 14 |
15 #include "chrome/browser/importer/importer.h" | 15 #include "chrome/browser/importer/importer.h" |
16 #include "chrome/browser/importer/importer_data_types.h" | 16 #include "chrome/common/importer_data_types.h" |
17 // TODO: remove this, see friend declaration in ImporterBridge. | 17 // TODO: remove this, see friend declaration in ImporterBridge. |
18 #include "chrome/browser/importer/toolbar_importer.h" | 18 #include "chrome/browser/importer/toolbar_importer.h" |
19 | 19 |
20 class ImporterBridge : public base::RefCountedThreadSafe<ImporterBridge> { | 20 class ImporterBridge : public base::RefCountedThreadSafe<ImporterBridge> { |
21 public: | 21 public: |
22 ImporterBridge(ProfileWriter* writer, | 22 ImporterBridge(ProfileWriter* writer, |
23 ImporterHost* host) | 23 ImporterHost* host) |
24 : writer_(writer), | 24 : writer_(writer), |
25 host_(host) { | 25 host_(host) { |
26 } | 26 } |
(...skipping 74 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
101 virtual void NotifyStarted(); | 101 virtual void NotifyStarted(); |
102 virtual void NotifyEnded(); | 102 virtual void NotifyEnded(); |
103 | 103 |
104 private: | 104 private: |
105 ~InProcessImporterBridge() {} | 105 ~InProcessImporterBridge() {} |
106 | 106 |
107 DISALLOW_COPY_AND_ASSIGN(InProcessImporterBridge); | 107 DISALLOW_COPY_AND_ASSIGN(InProcessImporterBridge); |
108 }; | 108 }; |
109 | 109 |
110 #endif // CHROME_BROWSER_IMPORTER_IMPORTER_BRIDGE_H_ | 110 #endif // CHROME_BROWSER_IMPORTER_IMPORTER_BRIDGE_H_ |
OLD | NEW |