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

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

Issue 18119009: Make utility process run in-process when running in single-process mode. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: undo unnecessary changes Created 7 years, 5 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/crx_installer.cc
===================================================================
--- chrome/browser/extensions/crx_installer.cc (revision 210446)
+++ chrome/browser/extensions/crx_installer.cc (working copy)
@@ -142,11 +142,14 @@
}
void CrxInstaller::InstallCrx(const base::FilePath& source_file) {
+ ExtensionService* service = service_weak_.get();
+ if (!service || service->browser_terminating())
+ return;
+
source_file_ = source_file;
scoped_refptr<SandboxedUnpacker> unpacker(
new SandboxedUnpacker(source_file,
- content::ResourceDispatcherHost::Get() != NULL,
install_source_,
creation_flags_,
install_directory_,
« no previous file with comments | « chrome/browser/chromeos/kiosk_mode/kiosk_mode_screensaver.cc ('k') | chrome/browser/extensions/extension_service_unittest.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698