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_UTILITY_IMPORTER_EXTERNAL_PROCESS_IMPORTER_BRIDGE_H_ | 5 #ifndef CHROME_UTILITY_IMPORTER_EXTERNAL_PROCESS_IMPORTER_BRIDGE_H_ |
6 #define CHROME_UTILITY_IMPORTER_EXTERNAL_PROCESS_IMPORTER_BRIDGE_H_ | 6 #define CHROME_UTILITY_IMPORTER_EXTERNAL_PROCESS_IMPORTER_BRIDGE_H_ |
7 | 7 |
8 #include <string> | 8 #include <string> |
9 #include <vector> | 9 #include <vector> |
10 | 10 |
(...skipping 36 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
47 IPC::Sender* sender, | 47 IPC::Sender* sender, |
48 base::TaskRunner* task_runner); | 48 base::TaskRunner* task_runner); |
49 | 49 |
50 // Begin ImporterBridge implementation: | 50 // Begin ImporterBridge implementation: |
51 void AddBookmarks(const std::vector<ImportedBookmarkEntry>& bookmarks, | 51 void AddBookmarks(const std::vector<ImportedBookmarkEntry>& bookmarks, |
52 const base::string16& first_folder_name) override; | 52 const base::string16& first_folder_name) override; |
53 | 53 |
54 void AddHomePage(const GURL& home_page) override; | 54 void AddHomePage(const GURL& home_page) override; |
55 | 55 |
56 #if defined(OS_WIN) | 56 #if defined(OS_WIN) |
57 virtual void AddIE7PasswordInfo( | 57 void AddIE7PasswordInfo( |
58 const importer::ImporterIE7PasswordInfo& password_info) override; | 58 const importer::ImporterIE7PasswordInfo& password_info) override; |
59 #endif | 59 #endif |
60 | 60 |
61 void SetFavicons(const favicon_base::FaviconUsageDataList& favicons) override; | 61 void SetFavicons(const favicon_base::FaviconUsageDataList& favicons) override; |
62 | 62 |
63 void SetHistoryItems(const std::vector<ImporterURLRow>& rows, | 63 void SetHistoryItems(const std::vector<ImporterURLRow>& rows, |
64 importer::VisitSource visit_source) override; | 64 importer::VisitSource visit_source) override; |
65 | 65 |
66 void SetKeywords( | 66 void SetKeywords( |
67 const std::vector<importer::SearchEngineInfo>& search_engines, | 67 const std::vector<importer::SearchEngineInfo>& search_engines, |
(...skipping 25 matching lines...) Expand all Loading... |
93 // bundle isn't available to the external process. | 93 // bundle isn't available to the external process. |
94 scoped_ptr<base::DictionaryValue> localized_strings_; | 94 scoped_ptr<base::DictionaryValue> localized_strings_; |
95 | 95 |
96 IPC::Sender* sender_; | 96 IPC::Sender* sender_; |
97 scoped_refptr<base::TaskRunner> task_runner_; | 97 scoped_refptr<base::TaskRunner> task_runner_; |
98 | 98 |
99 DISALLOW_COPY_AND_ASSIGN(ExternalProcessImporterBridge); | 99 DISALLOW_COPY_AND_ASSIGN(ExternalProcessImporterBridge); |
100 }; | 100 }; |
101 | 101 |
102 #endif // CHROME_UTILITY_IMPORTER_EXTERNAL_PROCESS_IMPORTER_BRIDGE_H_ | 102 #endif // CHROME_UTILITY_IMPORTER_EXTERNAL_PROCESS_IMPORTER_BRIDGE_H_ |
OLD | NEW |