OLD | NEW |
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2011 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 #pragma once | 7 #pragma once |
8 | 8 |
9 #include <string> | 9 #include <string> |
10 #include <vector> | 10 #include <vector> |
(...skipping 26 matching lines...) Expand all Loading... |
37 virtual void SetFavicons( | 37 virtual void SetFavicons( |
38 const std::vector<history::ImportedFaviconUsage>& favicons) OVERRIDE; | 38 const std::vector<history::ImportedFaviconUsage>& favicons) OVERRIDE; |
39 | 39 |
40 virtual void SetHistoryItems(const std::vector<history::URLRow>& rows, | 40 virtual void SetHistoryItems(const std::vector<history::URLRow>& rows, |
41 history::VisitSource visit_source) OVERRIDE; | 41 history::VisitSource visit_source) OVERRIDE; |
42 | 42 |
43 virtual void SetKeywords(const std::vector<TemplateURL*>& template_urls, | 43 virtual void SetKeywords(const std::vector<TemplateURL*>& template_urls, |
44 int default_keyword_index, | 44 int default_keyword_index, |
45 bool unique_on_host_and_path) OVERRIDE; | 45 bool unique_on_host_and_path) OVERRIDE; |
46 | 46 |
47 virtual void SetPasswordForm(const webkit_glue::PasswordForm& form) OVERRIDE; | 47 virtual void SetPasswordForm( |
| 48 const webkit::forms::PasswordForm& form) OVERRIDE; |
48 | 49 |
49 virtual void NotifyStarted() OVERRIDE; | 50 virtual void NotifyStarted() OVERRIDE; |
50 virtual void NotifyItemStarted(importer::ImportItem item) OVERRIDE; | 51 virtual void NotifyItemStarted(importer::ImportItem item) OVERRIDE; |
51 virtual void NotifyItemEnded(importer::ImportItem item) OVERRIDE; | 52 virtual void NotifyItemEnded(importer::ImportItem item) OVERRIDE; |
52 virtual void NotifyEnded() OVERRIDE; | 53 virtual void NotifyEnded() OVERRIDE; |
53 | 54 |
54 virtual string16 GetLocalizedString(int message_id) OVERRIDE; | 55 virtual string16 GetLocalizedString(int message_id) OVERRIDE; |
55 // End ImporterBridge implementation. | 56 // End ImporterBridge implementation. |
56 | 57 |
57 private: | 58 private: |
58 virtual ~InProcessImporterBridge(); | 59 virtual ~InProcessImporterBridge(); |
59 | 60 |
60 ProfileWriter* const writer_; // weak | 61 ProfileWriter* const writer_; // weak |
61 ImporterHost* const host_; // weak | 62 ImporterHost* const host_; // weak |
62 | 63 |
63 DISALLOW_COPY_AND_ASSIGN(InProcessImporterBridge); | 64 DISALLOW_COPY_AND_ASSIGN(InProcessImporterBridge); |
64 }; | 65 }; |
65 | 66 |
66 #endif // CHROME_BROWSER_IMPORTER_IN_PROCESS_IMPORTER_BRIDGE_H_ | 67 #endif // CHROME_BROWSER_IMPORTER_IN_PROCESS_IMPORTER_BRIDGE_H_ |
OLD | NEW |