Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1885)

Unified Diff: chrome/browser/importer/external_process_importer_client.h

Issue 18064002: The browser importer code which runs in the utility process should not depend on chrome\browser dat… (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 7 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: chrome/browser/importer/external_process_importer_client.h
===================================================================
--- chrome/browser/importer/external_process_importer_client.h (revision 208948)
+++ chrome/browser/importer/external_process_importer_client.h (working copy)
@@ -21,13 +21,16 @@
struct ImportedBookmarkEntry;
struct ImportedFaviconUsage;
class InProcessImporterBridge;
-class TemplateURL;
namespace content {
struct PasswordForm;
class UtilityProcessHost;
}
+namespace importer {
+struct URLKeywordInfo;
+}
+
// This class is the client for the out of process profile importing. It
// collects notifications from this process host and feeds data back to the
// importer host, who actually does the writing.
@@ -65,10 +68,11 @@
void OnFaviconsImportGroup(
const std::vector<ImportedFaviconUsage>& favicons_group);
void OnPasswordFormImportReady(const content::PasswordForm& form);
- // WARNING: This function takes ownership of (and deletes) the pointers in
- // |template_urls|!
- void OnKeywordsImportReady(const std::vector<TemplateURL*>& template_urls,
- bool unique_on_host_and_path);
+ void OnKeywordsImportReady(
+ const std::vector<importer::URLKeywordInfo>& url_keywords,
+ bool unique_on_host_and_path);
+ void OnFirefoxSearchEngineDataReceived(
+ const std::vector<std::string> search_engine_data);
protected:
virtual ~ExternalProcessImporterClient();

Powered by Google App Engine
This is Rietveld 408576698