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_IMPORTER_BRIDGE_H_ | 5 #ifndef CHROME_BROWSER_IMPORTER_IMPORTER_BRIDGE_H_ |
6 #define CHROME_BROWSER_IMPORTER_IMPORTER_BRIDGE_H_ | 6 #define CHROME_BROWSER_IMPORTER_IMPORTER_BRIDGE_H_ |
7 #pragma once | 7 #pragma once |
8 | 8 |
9 #include <vector> | 9 #include <vector> |
10 | 10 |
(...skipping 24 matching lines...) Expand all Loading... |
35 virtual void SetFavicons( | 35 virtual void SetFavicons( |
36 const std::vector<history::ImportedFaviconUsage>& favicons) = 0; | 36 const std::vector<history::ImportedFaviconUsage>& favicons) = 0; |
37 | 37 |
38 virtual void SetHistoryItems(const std::vector<history::URLRow>& rows, | 38 virtual void SetHistoryItems(const std::vector<history::URLRow>& rows, |
39 history::VisitSource visit_source) = 0; | 39 history::VisitSource visit_source) = 0; |
40 | 40 |
41 virtual void SetKeywords(const std::vector<TemplateURL*>& template_urls, | 41 virtual void SetKeywords(const std::vector<TemplateURL*>& template_urls, |
42 int default_keyword_index, | 42 int default_keyword_index, |
43 bool unique_on_host_and_path) = 0; | 43 bool unique_on_host_and_path) = 0; |
44 | 44 |
45 virtual void SetPasswordForm(const webkit_glue::PasswordForm& form) = 0; | 45 virtual void SetPasswordForm(const webkit::forms::PasswordForm& form) = 0; |
46 | 46 |
47 // Notifies the coordinator that the import operation has begun. | 47 // Notifies the coordinator that the import operation has begun. |
48 virtual void NotifyStarted() = 0; | 48 virtual void NotifyStarted() = 0; |
49 | 49 |
50 // Notifies the coordinator that the collection of data for the specified | 50 // Notifies the coordinator that the collection of data for the specified |
51 // item has begun. | 51 // item has begun. |
52 virtual void NotifyItemStarted(importer::ImportItem item) = 0; | 52 virtual void NotifyItemStarted(importer::ImportItem item) = 0; |
53 | 53 |
54 // Notifies the coordinator that the collection of data for the specified | 54 // Notifies the coordinator that the collection of data for the specified |
55 // item has completed. | 55 // item has completed. |
(...skipping 14 matching lines...) Expand all Loading... |
70 // connection, but as an interim step we allow Toolbar5Import to break | 70 // connection, but as an interim step we allow Toolbar5Import to break |
71 // the abstraction here and assume import is in-process. | 71 // the abstraction here and assume import is in-process. |
72 friend class Toolbar5Importer; | 72 friend class Toolbar5Importer; |
73 | 73 |
74 virtual ~ImporterBridge(); | 74 virtual ~ImporterBridge(); |
75 | 75 |
76 DISALLOW_COPY_AND_ASSIGN(ImporterBridge); | 76 DISALLOW_COPY_AND_ASSIGN(ImporterBridge); |
77 }; | 77 }; |
78 | 78 |
79 #endif // CHROME_BROWSER_IMPORTER_IMPORTER_BRIDGE_H_ | 79 #endif // CHROME_BROWSER_IMPORTER_IMPORTER_BRIDGE_H_ |
OLD | NEW |