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

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

Issue 9150016: Move creation and ownership of ResourceDispatcherHost and PluginService to content. This gives a ... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 8 years, 11 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_unittest.cc
===================================================================
--- chrome/browser/extensions/extension_service_unittest.cc (revision 116798)
+++ chrome/browser/extensions/extension_service_unittest.cc (working copy)
@@ -431,6 +431,7 @@
autoupdate_enabled);
service_->set_extensions_enabled(true);
service_->set_show_extensions_prompts(false);
+ service_->set_use_utility_process_for_testing(false);
profile->set_extensions_service(service_);
// When we start up, we want to make sure there is no external provider,
@@ -596,6 +597,7 @@
ASSERT_TRUE(file_util::PathExists(crx_path))
<< "Path does not exist: "<< crx_path.value().c_str();
scoped_refptr<CrxInstaller> installer(CrxInstaller::Create(service_, NULL));
+ installer->set_use_utility_process(false);
installer->set_allow_silent_install(true);
installer->set_is_gallery_install(from_webstore);
installer->InstallCrx(crx_path);
@@ -644,6 +646,7 @@
// no client (silent install)
scoped_refptr<CrxInstaller> installer(CrxInstaller::Create(service_, NULL));
+ installer->set_use_utility_process(false);
installer->set_install_source(install_location);
installer->InstallCrx(crx_path);
@@ -1420,6 +1423,7 @@
ASSERT_TRUE(file_util::PathExists(path));
scoped_refptr<CrxInstaller> installer(CrxInstaller::Create(service_, NULL));
+ installer->set_use_utility_process(false);
installer->set_allow_silent_install(true);
installer->InstallUserScript(
path,

Powered by Google App Engine
This is Rietveld 408576698