diff options
author | huanr@chromium.org <huanr@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-07-09 18:30:45 +0000 |
---|---|---|
committer | huanr@chromium.org <huanr@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-07-09 18:30:45 +0000 |
commit | 539b3d8e469b5e2eb7f5609a356ba8a2f142f565 (patch) | |
tree | e0978a25bac8a51624ae7cc6e3fd362044af5ace /chrome/browser/importer/importer.cc | |
parent | 4ba315dabc71118b82d909162f8b4f023a34ff14 (diff) | |
download | chromium_src-539b3d8e469b5e2eb7f5609a356ba8a2f142f565.zip chromium_src-539b3d8e469b5e2eb7f5609a356ba8a2f142f565.tar.gz chromium_src-539b3d8e469b5e2eb7f5609a356ba8a2f142f565.tar.bz2 |
Make bookmark import not to enable bookmark bar by default.
BUG=46528
TEST=mini_installer.exe --installerdata=<file_path>
Review URL: http://codereview.chromium.org/2962004
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@51987 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/importer/importer.cc')
-rw-r--r-- | chrome/browser/importer/importer.cc | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/chrome/browser/importer/importer.cc b/chrome/browser/importer/importer.cc index fcb8f28..62376c3 100644 --- a/chrome/browser/importer/importer.cc +++ b/chrome/browser/importer/importer.cc @@ -39,7 +39,8 @@ using webkit_glue::PasswordForm; Importer::Importer() : cancelled_(false), - import_to_bookmark_bar_(false) { + import_to_bookmark_bar_(false), + bookmark_bar_disabled_(false) { } Importer::~Importer() { @@ -177,6 +178,7 @@ void ImporterHost::StartImportSettings( importer_->AddRef(); importer_->set_import_to_bookmark_bar(ShouldImportToBookmarkBar(first_run)); + importer_->set_bookmark_bar_disabled(first_run); scoped_refptr<ImporterBridge> bridge( new InProcessImporterBridge(writer_.get(), this)); task_ = NewRunnableMethod(importer_, &Importer::StartImport, @@ -584,4 +586,3 @@ void ExternalProcessImporterClient::OnKeywordsImportReady( bridge_->SetKeywords(template_url_vec, default_keyword_index, unique_on_host_and_path); } - |