summaryrefslogtreecommitdiffstats
path: root/chrome/browser/importer/firefox2_importer.cc
diff options
context:
space:
mode:
authortfarina@chromium.org <tfarina@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-04-04 20:16:44 +0000
committertfarina@chromium.org <tfarina@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-04-04 20:16:44 +0000
commit6c0570addc47619e705239de27c9a6f260fcdb1c (patch)
treeb5227e4ad2778c929ba7640cfcad8063972f1eea /chrome/browser/importer/firefox2_importer.cc
parentae6cb3026ab95305fe49d512a03718792db9e9ab (diff)
downloadchromium_src-6c0570addc47619e705239de27c9a6f260fcdb1c.zip
chromium_src-6c0570addc47619e705239de27c9a6f260fcdb1c.tar.gz
chromium_src-6c0570addc47619e705239de27c9a6f260fcdb1c.tar.bz2
importer: Refactor ImporterList so it doesn't have to know about Importer.
- Move CreateImporterByType to importer_type.h - Rename ProfileType to ImporterType to clarify its usage. - Rename the variable names used for ProfileType from browser_type to importer_type as we support importing from more than just browsers. - Cleanup a few comments. - Remove unneed importer_list.h includes. - This also makes the ImporterHost not to know about ImporterList. BUG=None TEST=None R=avi@chromium.org Review URL: http://codereview.chromium.org/6693056 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@80362 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/importer/firefox2_importer.cc')
-rw-r--r--chrome/browser/importer/firefox2_importer.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/chrome/browser/importer/firefox2_importer.cc b/chrome/browser/importer/firefox2_importer.cc
index b4cac80..6a7ee80 100644
--- a/chrome/browser/importer/firefox2_importer.cc
+++ b/chrome/browser/importer/firefox2_importer.cc
@@ -55,7 +55,7 @@ void Firefox2Importer::StartImport(const importer::ProfileInfo& profile_info,
app_path_ = profile_info.app_path;
parsing_bookmarks_html_file_ =
- (profile_info.browser_type == importer::BOOKMARKS_HTML);
+ (profile_info.importer_type == importer::BOOKMARKS_HTML);
// The order here is important!
bridge_->NotifyStarted();