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_COMMON_IMPORTER_IMPORTER_BRIDGE_H_ | 5 #ifndef CHROME_COMMON_IMPORTER_IMPORTER_BRIDGE_H_ |
6 #define CHROME_COMMON_IMPORTER_IMPORTER_BRIDGE_H_ | 6 #define CHROME_COMMON_IMPORTER_IMPORTER_BRIDGE_H_ |
7 | 7 |
8 #include <string> | 8 #include <string> |
9 #include <vector> | 9 #include <vector> |
10 | 10 |
(...skipping 10 matching lines...) Expand all Loading... |
21 struct ImporterAutofillFormDataEntry; | 21 struct ImporterAutofillFormDataEntry; |
22 | 22 |
23 namespace autofill { | 23 namespace autofill { |
24 struct PasswordForm; | 24 struct PasswordForm; |
25 } | 25 } |
26 | 26 |
27 namespace importer { | 27 namespace importer { |
28 #if defined(OS_WIN) | 28 #if defined(OS_WIN) |
29 struct ImporterIE7PasswordInfo; | 29 struct ImporterIE7PasswordInfo; |
30 #endif | 30 #endif |
31 struct ImporterURlRow; | |
32 struct SearchEngineInfo; | 31 struct SearchEngineInfo; |
33 } | 32 } |
34 | 33 |
35 class ImporterBridge : public base::RefCountedThreadSafe<ImporterBridge> { | 34 class ImporterBridge : public base::RefCountedThreadSafe<ImporterBridge> { |
36 public: | 35 public: |
37 ImporterBridge(); | 36 ImporterBridge(); |
38 | 37 |
39 virtual void AddBookmarks( | 38 virtual void AddBookmarks( |
40 const std::vector<ImportedBookmarkEntry>& bookmarks, | 39 const std::vector<ImportedBookmarkEntry>& bookmarks, |
41 const base::string16& first_folder_name) = 0; | 40 const base::string16& first_folder_name) = 0; |
(...skipping 47 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
89 | 88 |
90 protected: | 89 protected: |
91 friend class base::RefCountedThreadSafe<ImporterBridge>; | 90 friend class base::RefCountedThreadSafe<ImporterBridge>; |
92 | 91 |
93 virtual ~ImporterBridge(); | 92 virtual ~ImporterBridge(); |
94 | 93 |
95 DISALLOW_COPY_AND_ASSIGN(ImporterBridge); | 94 DISALLOW_COPY_AND_ASSIGN(ImporterBridge); |
96 }; | 95 }; |
97 | 96 |
98 #endif // CHROME_COMMON_IMPORTER_IMPORTER_BRIDGE_H_ | 97 #endif // CHROME_COMMON_IMPORTER_IMPORTER_BRIDGE_H_ |
OLD | NEW |