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

Unified Diff: chrome/browser/importer/profile_import_process_host.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/browser/importer/profile_import_process_host.cc
diff --git a/chrome/browser/importer/profile_import_process_host.cc b/chrome/browser/importer/profile_import_process_host.cc
index 8df0a2f965b58455cc1bb45d8b15e28f6aae6c21..82c79556982d845208ddd5fe3e586fe42fd5af79 100644
--- a/chrome/browser/importer/profile_import_process_host.cc
+++ b/chrome/browser/importer/profile_import_process_host.cc
@@ -29,8 +29,7 @@ ProfileImportProcessHost::~ProfileImportProcessHost() {
bool ProfileImportProcessHost::StartProfileImportProcess(
const importer::SourceProfile& source_profile,
- uint16 items,
- bool import_to_bookmark_bar) {
+ uint16 items) {
DCHECK(BrowserThread::CurrentlyOn(BrowserThread::IO));
if (!StartProcess())
return false;
@@ -53,9 +52,12 @@ bool ProfileImportProcessHost::StartProfileImportProcess(
localized_strings.SetString(
base::IntToString(IDS_IMPORT_FROM_SAFARI),
l10n_util::GetStringUTF8(IDS_IMPORT_FROM_SAFARI));
+ localized_strings.SetString(
+ base::IntToString(IDS_BOOMARK_BAR_FOLDER_NAME),
+ l10n_util::GetStringUTF8(IDS_BOOMARK_BAR_FOLDER_NAME));
- Send(new ProfileImportProcessMsg_StartImport(
- source_profile, items, localized_strings, import_to_bookmark_bar));
+ Send(new ProfileImportProcessMsg_StartImport(source_profile, items,
+ localized_strings));
return true;
}
« no previous file with comments | « chrome/browser/importer/profile_import_process_host.h ('k') | chrome/browser/importer/profile_import_process_messages.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698