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

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

Issue 7056033: Style cleanup in bookmarks import code (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fix unit tests Created 9 years, 7 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/firefox2_importer.cc
diff --git a/chrome/browser/importer/firefox2_importer.cc b/chrome/browser/importer/firefox2_importer.cc
index 6b69db9c86c9a8d91d65e5c0ba105a661155da93..b14105aebb4c00bd01a0b458f8952dea2e41bdd8 100644
--- a/chrome/browser/importer/firefox2_importer.cc
+++ b/chrome/browser/importer/firefox2_importer.cc
@@ -330,7 +330,7 @@ void Firefox2Importer::ImportBookmarks() {
options |= ProfileWriter::IMPORT_TO_BOOKMARK_BAR;
if (bookmark_bar_disabled())
options |= ProfileWriter::BOOKMARK_BAR_DISABLED;
- bridge_->AddBookmarkEntries(bookmarks, first_folder_name, options);
+ bridge_->AddBookmarks(bookmarks, first_folder_name, options);
}
if (!parsing_bookmarks_html_file_ && !template_urls.empty() &&
!cancelled()) {
@@ -338,9 +338,8 @@ void Firefox2Importer::ImportBookmarks() {
} else {
STLDeleteContainerPointers(template_urls.begin(), template_urls.end());
}
- if (!favicons.empty()) {
+ if (!favicons.empty())
bridge_->SetFavicons(favicons);
- }
}
void Firefox2Importer::ImportPasswords() {
« no previous file with comments | « chrome/browser/importer/external_process_importer_client.cc ('k') | chrome/browser/importer/firefox3_importer.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698