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

Unified Diff: chrome/browser/importer/external_process_importer_bridge.cc

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_bridge.cc
===================================================================
--- chrome/browser/importer/external_process_importer_bridge.cc (revision 208750)
+++ chrome/browser/importer/external_process_importer_bridge.cc (working copy)
@@ -126,13 +126,18 @@
}
void ExternalProcessImporterBridge::SetKeywords(
- const std::vector<TemplateURL*>& template_urls,
+ const std::vector<importer::URLKeywordInfo>& url_keywords,
gab 2013/06/27 22:07:29 #include "chrome/browser/importer/importer_data_ty
ananta 2013/06/27 22:29:55 Done.
bool unique_on_host_and_path) {
- Send(new ProfileImportProcessHostMsg_NotifyKeywordsReady(template_urls,
- unique_on_host_and_path));
- STLDeleteContainerPointers(template_urls.begin(), template_urls.end());
+ Send(new ProfileImportProcessHostMsg_NotifyKeywordsReady(
+ url_keywords, unique_on_host_and_path));
}
+void ExternalProcessImporterBridge::SetFirefoxSearchEnginesXMLData(
+ const std::vector<std::string>& search_engine_data) {
+ Send(new ProfileImportProcessHostMsg_NotifyFirefoxSearchEngData(
+ search_engine_data));
+}
+
void ExternalProcessImporterBridge::SetPasswordForm(
const content::PasswordForm& form) {
Send(new ProfileImportProcessHostMsg_NotifyPasswordFormReady(form));

Powered by Google App Engine
This is Rietveld 408576698