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 SetFavicons( | 36 virtual void SetFavicons( |
37 const std::vector<history::ImportedFaviconUsage>& favicons) OVERRIDE; | 37 const std::vector<history::ImportedFaviconUsage>& favicons) OVERRIDE; |
38 | 38 |
39 virtual void SetHistoryItems(const history::URLRows& rows, | 39 virtual void SetHistoryItems(const history::URLRows& rows, |
40 history::VisitSource visit_source) OVERRIDE; | 40 history::VisitSource visit_source) OVERRIDE; |
41 | 41 |
42 virtual void SetKeywords(const std::vector<TemplateURL*>& template_urls, | 42 virtual void SetKeywords(const std::vector<TemplateURL*>& template_urls, |
43 bool unique_on_host_and_path) OVERRIDE; | 43 bool unique_on_host_and_path) OVERRIDE; |
44 | 44 |
45 virtual void SetPasswordForm( | 45 virtual void SetPasswordForm( |
46 const webkit::forms::PasswordForm& form) OVERRIDE; | 46 const content::PasswordForm& form) OVERRIDE; |
47 | 47 |
48 virtual void NotifyStarted() OVERRIDE; | 48 virtual void NotifyStarted() OVERRIDE; |
49 virtual void NotifyItemStarted(importer::ImportItem item) OVERRIDE; | 49 virtual void NotifyItemStarted(importer::ImportItem item) OVERRIDE; |
50 virtual void NotifyItemEnded(importer::ImportItem item) OVERRIDE; | 50 virtual void NotifyItemEnded(importer::ImportItem item) OVERRIDE; |
51 virtual void NotifyEnded() OVERRIDE; | 51 virtual void NotifyEnded() OVERRIDE; |
52 | 52 |
53 virtual string16 GetLocalizedString(int message_id) OVERRIDE; | 53 virtual string16 GetLocalizedString(int message_id) OVERRIDE; |
54 // End ImporterBridge implementation. | 54 // End ImporterBridge implementation. |
55 | 55 |
56 private: | 56 private: |
57 virtual ~InProcessImporterBridge(); | 57 virtual ~InProcessImporterBridge(); |
58 | 58 |
59 ProfileWriter* const writer_; // weak | 59 ProfileWriter* const writer_; // weak |
60 ImporterHost* const host_; // weak | 60 ImporterHost* const host_; // weak |
61 | 61 |
62 DISALLOW_COPY_AND_ASSIGN(InProcessImporterBridge); | 62 DISALLOW_COPY_AND_ASSIGN(InProcessImporterBridge); |
63 }; | 63 }; |
64 | 64 |
65 #endif // CHROME_BROWSER_IMPORTER_IN_PROCESS_IMPORTER_BRIDGE_H_ | 65 #endif // CHROME_BROWSER_IMPORTER_IN_PROCESS_IMPORTER_BRIDGE_H_ |
OLD | NEW |