| 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_BROWSER_IMPORTER_IN_PROCESS_IMPORTER_BRIDGE_H_ | 5 #ifndef CHROME_BROWSER_IMPORTER_IN_PROCESS_IMPORTER_BRIDGE_H_ |
| 6 #define CHROME_BROWSER_IMPORTER_IN_PROCESS_IMPORTER_BRIDGE_H_ | 6 #define CHROME_BROWSER_IMPORTER_IN_PROCESS_IMPORTER_BRIDGE_H_ |
| 7 | 7 |
| 8 #include <string> | 8 #include <string> |
| 9 #include <vector> | 9 #include <vector> |
| 10 | 10 |
| (...skipping 25 matching lines...) Expand all Loading... |
| 36 virtual void AddIE7PasswordInfo( | 36 virtual void AddIE7PasswordInfo( |
| 37 const IE7PasswordInfo& password_info) OVERRIDE; | 37 const IE7PasswordInfo& password_info) OVERRIDE; |
| 38 #endif | 38 #endif |
| 39 | 39 |
| 40 virtual void SetFavicons( | 40 virtual void SetFavicons( |
| 41 const std::vector<ImportedFaviconUsage>& favicons) OVERRIDE; | 41 const std::vector<ImportedFaviconUsage>& favicons) OVERRIDE; |
| 42 | 42 |
| 43 virtual void SetHistoryItems(const history::URLRows& rows, | 43 virtual void SetHistoryItems(const history::URLRows& rows, |
| 44 history::VisitSource visit_source) OVERRIDE; | 44 history::VisitSource visit_source) OVERRIDE; |
| 45 | 45 |
| 46 virtual void SetKeywords(const std::vector<TemplateURL*>& template_urls, | 46 virtual void SetKeywords( |
| 47 bool unique_on_host_and_path) OVERRIDE; | 47 const std::vector<importer::URLKeywordInfo>& url_keywords, |
| 48 bool unique_on_host_and_path) OVERRIDE; |
| 49 |
| 50 virtual void SetFirefoxSearchEnginesXMLData( |
| 51 const std::vector<std::string>& search_engine_data) OVERRIDE; |
| 48 | 52 |
| 49 virtual void SetPasswordForm( | 53 virtual void SetPasswordForm( |
| 50 const content::PasswordForm& form) OVERRIDE; | 54 const content::PasswordForm& form) OVERRIDE; |
| 51 | 55 |
| 52 virtual void NotifyStarted() OVERRIDE; | 56 virtual void NotifyStarted() OVERRIDE; |
| 53 virtual void NotifyItemStarted(importer::ImportItem item) OVERRIDE; | 57 virtual void NotifyItemStarted(importer::ImportItem item) OVERRIDE; |
| 54 virtual void NotifyItemEnded(importer::ImportItem item) OVERRIDE; | 58 virtual void NotifyItemEnded(importer::ImportItem item) OVERRIDE; |
| 55 virtual void NotifyEnded() OVERRIDE; | 59 virtual void NotifyEnded() OVERRIDE; |
| 56 | 60 |
| 57 virtual string16 GetLocalizedString(int message_id) OVERRIDE; | 61 virtual string16 GetLocalizedString(int message_id) OVERRIDE; |
| 58 // End ImporterBridge implementation. | 62 // End ImporterBridge implementation. |
| 59 | 63 |
| 60 private: | 64 private: |
| 61 virtual ~InProcessImporterBridge(); | 65 virtual ~InProcessImporterBridge(); |
| 62 | 66 |
| 63 ProfileWriter* const writer_; // weak | 67 ProfileWriter* const writer_; // weak |
| 64 const base::WeakPtr<ImporterHost> host_; | 68 const base::WeakPtr<ImporterHost> host_; |
| 65 | 69 |
| 66 DISALLOW_COPY_AND_ASSIGN(InProcessImporterBridge); | 70 DISALLOW_COPY_AND_ASSIGN(InProcessImporterBridge); |
| 67 }; | 71 }; |
| 68 | 72 |
| 69 #endif // CHROME_BROWSER_IMPORTER_IN_PROCESS_IMPORTER_BRIDGE_H_ | 73 #endif // CHROME_BROWSER_IMPORTER_IN_PROCESS_IMPORTER_BRIDGE_H_ |
| OLD | NEW |