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

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

Issue 24345002: Do not add "Bookmarks File" to ImporterList. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 3 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 598843e4c98ae672d386cdb9bea5b88c2e1ba911..ba4193d57a9841bd42a764b93beaa69702b2d025 100644
--- a/chrome/browser/importer/importer_list.cc
+++ b/chrome/browser/importer/importer_list.cc
@@ -175,13 +175,6 @@ void ImporterList::DetectSourceProfilesWorker(const std::string& locale) {
#else
DetectFirefoxProfiles(locale, &profiles);
#endif
- importer::SourceProfile* bookmarks_file = new importer::SourceProfile;
gab 2013/09/23 14:39:14 You will also need to revert your change to chrome
tfarina 2013/09/28 17:10:04 Done.
- 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.
if (is_observed_) {

Powered by Google App Engine
This is Rietveld 408576698