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

Unified Diff: chrome/profile_import/profile_import_thread.cc

Issue 6979007: Many fixes to bookmark importing. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Happy 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/profile_import/profile_import_thread.cc
diff --git a/chrome/profile_import/profile_import_thread.cc b/chrome/profile_import/profile_import_thread.cc
index 24729746b7929c9ee4c55fb54c1c8fca896a1d16..d98a2b0a1aa09fa031954d214eca552f8e44747c 100644
--- a/chrome/profile_import/profile_import_thread.cc
+++ b/chrome/profile_import/profile_import_thread.cc
@@ -54,8 +54,7 @@ bool ProfileImportThread::OnControlMessageReceived(const IPC::Message& msg) {
void ProfileImportThread::OnImportStart(
const importer::SourceProfile& source_profile,
uint16 items,
- const DictionaryValue& localized_strings,
- bool import_to_bookmark_bar) {
+ const DictionaryValue& localized_strings) {
bridge_ = new ExternalProcessImporterBridge(this, localized_strings);
importer_ = importer::CreateImporterByType(source_profile.importer_type);
if (!importer_) {
@@ -64,7 +63,6 @@ void ProfileImportThread::OnImportStart(
return;
}
- importer_->set_import_to_bookmark_bar(import_to_bookmark_bar);
items_to_import_ = items;
// Create worker thread in which importer runs.
@@ -137,10 +135,9 @@ void ProfileImportThread::NotifyHomePageImportReady(
void ProfileImportThread::NotifyBookmarksImportReady(
const std::vector<ProfileWriter::BookmarkEntry>& bookmarks,
- const string16& first_folder_name,
- int options) {
+ const string16& first_folder_name) {
Send(new ProfileImportProcessHostMsg_NotifyBookmarksImportStart(
- first_folder_name, options, bookmarks.size()));
+ first_folder_name, bookmarks.size()));
std::vector<ProfileWriter::BookmarkEntry>::const_iterator it;
for (it = bookmarks.begin(); it < bookmarks.end();
« no previous file with comments | « chrome/profile_import/profile_import_thread.h ('k') | chrome/test/data/safari_import/Safari/Bookmarks.plist » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698