diff options
author | kuchhal@chromium.org <kuchhal@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-04-23 16:25:07 +0000 |
---|---|---|
committer | kuchhal@chromium.org <kuchhal@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-04-23 16:25:07 +0000 |
commit | 629855fd02bc07563a723df7bb0b0b56cf373cc1 (patch) | |
tree | 00116afc4a2bacd7bf91acdf713a22d2eff579db /chrome/browser/views/first_run_view.cc | |
parent | 60ea13a2267bc1a34112b074e3cf0566e591ffb1 (diff) | |
download | chromium_src-629855fd02bc07563a723df7bb0b0b56cf373cc1.zip chromium_src-629855fd02bc07563a723df7bb0b0b56cf373cc1.tar.gz chromium_src-629855fd02bc07563a723df7bb0b0b56cf373cc1.tar.bz2 |
Importer should import browser data from the browser that user selected.
BUG=9710
Review URL: http://codereview.chromium.org/93039
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@14313 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/views/first_run_view.cc')
-rw-r--r-- | chrome/browser/views/first_run_view.cc | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/chrome/browser/views/first_run_view.cc b/chrome/browser/views/first_run_view.cc index 0c94020..198e253 100644 --- a/chrome/browser/views/first_run_view.cc +++ b/chrome/browser/views/first_run_view.cc @@ -181,8 +181,9 @@ bool FirstRunView::Accept() { if (default_browser_->checked()) SetDefaultBrowser(); // Index 0 is the default browser. - FirstRun::ImportSettings(profile_, 0, GetDefaultImportItems(), - window()->GetNativeWindow()); + FirstRun::ImportSettings(profile_, + importer_host_->GetSourceProfileInfoAt(0).browser_type, + GetDefaultImportItems(), window()->GetNativeWindow()); UserMetrics::RecordAction(L"FirstRunDef_Accept", profile_); return true; |