summaryrefslogtreecommitdiffstats
path: root/chrome/browser/importer/toolbar_importer.cc
diff options
context:
space:
mode:
authorkuchhal@chromium.org <kuchhal@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-06-18 21:14:34 +0000
committerkuchhal@chromium.org <kuchhal@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-06-18 21:14:34 +0000
commit0072d87bf9dae6259147d51df6067d60f337228d (patch)
treed4f9bb62a785550c66424a6f466867f7df993cd8 /chrome/browser/importer/toolbar_importer.cc
parentb3326d6308460c7d2789ee0d719886c7a6745091 (diff)
downloadchromium_src-0072d87bf9dae6259147d51df6067d60f337228d.zip
chromium_src-0072d87bf9dae6259147d51df6067d60f337228d.tar.gz
chromium_src-0072d87bf9dae6259147d51df6067d60f337228d.tar.bz2
Import bookmarks to bookmark bar if user has not bookmarked anything yet.
BUG=9000 Review URL: http://codereview.chromium.org/131004 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@18751 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/importer/toolbar_importer.cc')
-rw-r--r--chrome/browser/importer/toolbar_importer.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/chrome/browser/importer/toolbar_importer.cc b/chrome/browser/importer/toolbar_importer.cc
index 0f7c12f..83fb29f 100644
--- a/chrome/browser/importer/toolbar_importer.cc
+++ b/chrome/browser/importer/toolbar_importer.cc
@@ -583,7 +583,7 @@ void Toolbar5Importer::AddBookmarksToChrome(
const std::vector<ProfileWriter::BookmarkEntry>& bookmarks) {
if (!bookmarks.empty() && !cancelled()) {
int options = ProfileWriter::ADD_IF_UNIQUE |
- (first_run() ? ProfileWriter::FIRST_RUN : 0);
+ (import_to_bookmark_bar() ? ProfileWriter::IMPORT_TO_BOOKMARK_BAR : 0);
main_loop_->PostTask(FROM_HERE, NewRunnableMethod(writer_,
&ProfileWriter::AddBookmarkEntry, bookmarks,
l10n_util::GetString(IDS_BOOKMARK_GROUP_FROM_GOOGLE_TOOLBAR),