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

Unified Diff: chrome/browser/extensions/extension_service.cc

Issue 12670013: Out-of-process import on Windows. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Keep Google Toolbar import in-process. Created 7 years, 8 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
Index: chrome/browser/extensions/extension_service.cc
diff --git a/chrome/browser/extensions/extension_service.cc b/chrome/browser/extensions/extension_service.cc
index 6c22260e834f5404dbbc47cb358b03d1f3c59a1c..394931d714505e99d7e8ce1e903f469b7b95de0f 100644
--- a/chrome/browser/extensions/extension_service.cc
+++ b/chrome/browser/extensions/extension_service.cc
@@ -409,7 +409,6 @@ ExtensionService::ExtensionService(Profile* profile,
g_browser_process->local_state()));
if (extensions_enabled_) {
- CHECK(!ProfileManager::IsImportProcess(*command_line));
extensions::ExternalProviderImpl::CreateExternalProviders(
this, profile_, &external_extension_providers_);
}
@@ -565,9 +564,6 @@ void ExtensionService::Init() {
DCHECK_EQ(extensions_.size(), 0u);
const CommandLine* cmd_line = CommandLine::ForCurrentProcess();
-
- CHECK(!ProfileManager::IsImportProcess(*cmd_line));
-
if (cmd_line->HasSwitch(switches::kInstallFromWebstore) ||
cmd_line->HasSwitch(switches::kLimitedInstallFromWebstore)) {
// The sole purpose of this launch is to install a new extension from CWS

Powered by Google App Engine
This is Rietveld 408576698