summaryrefslogtreecommitdiffstats
path: root/chrome/browser/first_run_mac.mm
diff options
context:
space:
mode:
authormirandac@chromium.org <mirandac@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-03-22 16:42:07 +0000
committermirandac@chromium.org <mirandac@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-03-22 16:42:07 +0000
commit80a9966966b76bba436398ca529f9e4d509d5aab (patch)
tree11aec759e5dde6a0ae4b9262c557c90205e27690 /chrome/browser/first_run_mac.mm
parenta37bd9baafb3ccc1532b77db9df922d35a10e2f3 (diff)
downloadchromium_src-80a9966966b76bba436398ca529f9e4d509d5aab.zip
chromium_src-80a9966966b76bba436398ca529f9e4d509d5aab.tar.gz
chromium_src-80a9966966b76bba436398ca529f9e4d509d5aab.tar.bz2
Move importer data types into a separate file to prepare for moving importer
into its own process. BUG= 18774 TEST= none Review URL: http://codereview.chromium.org/1110005 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@42224 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/first_run_mac.mm')
-rw-r--r--chrome/browser/first_run_mac.mm7
1 files changed, 4 insertions, 3 deletions
diff --git a/chrome/browser/first_run_mac.mm b/chrome/browser/first_run_mac.mm
index 41642af..687838e 100644
--- a/chrome/browser/first_run_mac.mm
+++ b/chrome/browser/first_run_mac.mm
@@ -1,4 +1,4 @@
-// Copyright (c) 2009 The Chromium Authors. All rights reserved.
+// Copyright (c) 2010 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
@@ -10,6 +10,7 @@
#import "chrome/browser/cocoa/first_run_dialog.h"
#import "chrome/browser/cocoa/import_progress_dialog.h"
#include "chrome/browser/importer/importer.h"
+#include "chrome/browser/importer/importer_data_types.h"
#include "chrome/browser/metrics/user_metrics.h"
#include "chrome/browser/shell_integration.h"
#include "chrome/installer/util/google_update_constants.h"
@@ -136,8 +137,8 @@ bool FirstRunController::DoFirstRun(Profile* profile,
// Import bookmarks.
if (!browser_import_disabled && [dialog.get() importBookmarks]) {
- const ProfileInfo& source_profile = importer_host_->GetSourceProfileInfoAt(
- [dialog.get() browserImportSelectedIndex]);
+ const importer::ProfileInfo& source_profile = importer_host_->
+ GetSourceProfileInfoAt([dialog.get() browserImportSelectedIndex]);
int16 items = source_profile.services_supported;
// TODO(port): Do the actual import in a new process like Windows.
gc.release();