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

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

Issue 22560003: Reland "Add option to import from bookmarks html file to ..."" (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: does this fix first run browser_tests for bots? Created 7 years, 4 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/importer_list.cc
diff --git a/chrome/browser/importer/importer_list.cc b/chrome/browser/importer/importer_list.cc
index 1863d4a46c9f34bd258cc55c423435099774a3d6..598843e4c98ae672d386cdb9bea5b88c2e1ba911 100644
--- a/chrome/browser/importer/importer_list.cc
+++ b/chrome/browser/importer/importer_list.cc
@@ -175,6 +175,12 @@ void ImporterList::DetectSourceProfilesWorker(const std::string& locale) {
#else
DetectFirefoxProfiles(locale, &profiles);
#endif
+ importer::SourceProfile* bookmarks_file = new importer::SourceProfile;
gab 2013/09/17 22:06:00 Adding this here is problematic on AutoImport wher
+ bookmarks_file->importer_name =
+ l10n_util::GetStringUTF16(IDS_IMPORT_FROM_BOOKMARKS_HTML_FILE);
+ bookmarks_file->importer_type = importer::TYPE_BOOKMARKS_FILE;
+ bookmarks_file->services_supported = importer::FAVORITES;
+ profiles.push_back(bookmarks_file);
// TODO(jhawkins): Remove this condition once DetectSourceProfilesHack is
// removed.

Powered by Google App Engine
This is Rietveld 408576698