Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(6)

Unified Diff: chrome/browser/importer/firefox3_importer.cc

Issue 3341016: Fix Firefox data import for Mac.... (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: '' Created 10 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « chrome/browser/importer/firefox3_importer.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/importer/firefox3_importer.cc
===================================================================
--- chrome/browser/importer/firefox3_importer.cc (revision 58732)
+++ chrome/browser/importer/firefox3_importer.cc (working copy)
@@ -36,9 +36,10 @@
using webkit_glue::PasswordForm;
Firefox3Importer::Firefox3Importer() {
+#if defined(OS_LINUX)
DCHECK(ChromeThread::CurrentlyOn(ChromeThread::UI));
-
locale_ = g_browser_process->GetApplicationLocale();
+#endif
}
Firefox3Importer::~Firefox3Importer() {
@@ -47,7 +48,9 @@
void Firefox3Importer::StartImport(importer::ProfileInfo profile_info,
uint16 items,
ImporterBridge* bridge) {
+#if defined(OS_LINUX)
DCHECK(ChromeThread::CurrentlyOn(ChromeThread::FILE));
+#endif
bridge_ = bridge;
source_path_ = profile_info.source_path;
app_path_ = profile_info.app_path;
« no previous file with comments | « chrome/browser/importer/firefox3_importer.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698