| Index: chrome/browser/importer/importer_bridge.h
|
| ===================================================================
|
| --- chrome/browser/importer/importer_bridge.h (revision 208948)
|
| +++ chrome/browser/importer/importer_bridge.h (working copy)
|
| @@ -5,6 +5,7 @@
|
| #ifndef CHROME_BROWSER_IMPORTER_IMPORTER_BRIDGE_H_
|
| #define CHROME_BROWSER_IMPORTER_IMPORTER_BRIDGE_H_
|
|
|
| +#include <string>
|
| #include <vector>
|
|
|
| #include "base/basictypes.h"
|
| @@ -18,7 +19,11 @@
|
| struct IE7PasswordInfo;
|
| struct ImportedBookmarkEntry;
|
| struct ImportedFaviconUsage;
|
| -class TemplateURL;
|
| +
|
| +namespace importer {
|
| +struct URLKeywordInfo;
|
| +}
|
| +
|
| // TODO: remove this, see friend declaration in ImporterBridge.
|
| class Toolbar5Importer;
|
|
|
| @@ -46,11 +51,15 @@
|
| virtual void SetHistoryItems(const history::URLRows& rows,
|
| history::VisitSource visit_source) = 0;
|
|
|
| - // WARNING: This function takes ownership of (and deletes) the pointers in
|
| - // |template_urls|!
|
| - virtual void SetKeywords(const std::vector<TemplateURL*>& template_urls,
|
| - bool unique_on_host_and_path) = 0;
|
| + virtual void SetKeywords(
|
| + const std::vector<importer::URLKeywordInfo>& url_keywords,
|
| + bool unique_on_host_and_path) = 0;
|
|
|
| + // The search_engine_data vector contains XML data retrieved from the Firefox
|
| + // profile and its sqlite db.
|
| + virtual void SetFirefoxSearchEnginesXMLData(
|
| + const std::vector<std::string>& search_engine_data) = 0;
|
| +
|
| virtual void SetPasswordForm(const content::PasswordForm& form) = 0;
|
|
|
| // Notifies the coordinator that the import operation has begun.
|
|
|