diff --git a/atom/browser/importer/profile_writer.cc b/atom/browser/importer/profile_writer.cc index 952c2ba1e..3b2700914 100644 --- a/atom/browser/importer/profile_writer.cc +++ b/atom/browser/importer/profile_writer.cc @@ -395,9 +395,9 @@ static void BuildHostPathMap(TemplateURLService* model, } */ +/* void ProfileWriter::AddKeywords(ScopedVector template_urls, bool unique_on_host_and_path) { - /* TemplateURLService* model = TemplateURLServiceFactory::GetForProfile(profile_); HostPathMap host_path_map; @@ -427,7 +427,6 @@ void ProfileWriter::AddKeywords(ScopedVector template_urls, *i = NULL; // Prevent the vector from deleting *i later. } } - */ if (importer_) { base::ListValue imported_template_urls; for (ScopedVector::iterator i = template_urls.begin(); @@ -448,6 +447,7 @@ void ProfileWriter::AddKeywords(ScopedVector template_urls, unique_on_host_and_path); } } +*/ void ProfileWriter::AddAutofillFormDataEntries( const std::vector& autofill_entries) { diff --git a/chromium_src/chrome/browser/importer/profile_writer.h b/chromium_src/chrome/browser/importer/profile_writer.h index d0072f45a..aac8ddc88 100644 --- a/chromium_src/chrome/browser/importer/profile_writer.h +++ b/chromium_src/chrome/browser/importer/profile_writer.h @@ -102,8 +102,10 @@ class ProfileWriter : public base::RefCountedThreadSafe { // If |unique_on_host_and_path| is true, a TemplateURL is only added if there // is not an existing TemplateURL that has a replaceable search url with the // same host+path combination. + /* virtual void AddKeywords(ScopedVector template_urls, bool unique_on_host_and_path); + */ // Adds the imported autofill entries to the autofill database. virtual void AddAutofillFormDataEntries(