diff options
author | tfarina@chromium.org <tfarina@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-03-02 23:23:08 +0000 |
---|---|---|
committer | tfarina@chromium.org <tfarina@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-03-02 23:23:08 +0000 |
commit | 58d7bb5fc1d079213e852c28d0557f17907e8ba6 (patch) | |
tree | 8b527c3e7522ee5f8f51b0a788bf33095522302e /chrome/browser/importer/importer_list.cc | |
parent | a0798ecd866df57352c628ee6adf191a3fdc865e (diff) | |
download | chromium_src-58d7bb5fc1d079213e852c28d0557f17907e8ba6.zip chromium_src-58d7bb5fc1d079213e852c28d0557f17907e8ba6.tar.gz chromium_src-58d7bb5fc1d079213e852c28d0557f17907e8ba6.tar.bz2 |
importer: Factor out StartImportingWithUI() function in its own file.
- Move this function to importer_progress_dialog.h
- Rename it ShowImportProgressDialog.
- Put it under the importer namespace (so the callers can know where it comes from).
- Reorder the parameters to be more easy to read.
- Remove some using declarations.
BUG=None
TEST=importer unit tests and importing works as before.
Review URL: http://codereview.chromium.org/6597095
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@76654 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/importer/importer_list.cc')
-rw-r--r-- | chrome/browser/importer/importer_list.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/chrome/browser/importer/importer_list.cc b/chrome/browser/importer/importer_list.cc index a47e9b4..121ec5f 100644 --- a/chrome/browser/importer/importer_list.cc +++ b/chrome/browser/importer/importer_list.cc @@ -1,4 +1,4 @@ -// Copyright (c) 2010 The Chromium Authors. All rights reserved. +// Copyright (c) 2011 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. @@ -32,7 +32,7 @@ namespace { #if defined(OS_WIN) void DetectIEProfiles(std::vector<importer::ProfileInfo*>* profiles) { // IE always exists and doesn't have multiple profiles. - ProfileInfo* ie = new ProfileInfo(); + importer::ProfileInfo* ie = new importer::ProfileInfo(); ie->description = UTF16ToWide(l10n_util::GetStringUTF16(IDS_IMPORT_FROM_IE)); ie->browser_type = importer::MS_IE; ie->source_path.clear(); |