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

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

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/crx_installer.h
===================================================================
--- chrome/browser/extensions/crx_installer.h (revision 116798)
+++ chrome/browser/extensions/crx_installer.h (working copy)
@@ -184,6 +184,8 @@
Profile* profile() { return profile_; }
+ void set_use_utility_process(bool value) { use_utility_process_ = value; }
+
private:
friend class ExtensionUpdaterTest;
@@ -329,6 +331,9 @@
// when calling Extenion::Create() by the crx installer.
int creation_flags_;
+ // True if the utility process is used, false otherwise (i.e. for tests).
+ bool use_utility_process_;
+
DISALLOW_COPY_AND_ASSIGN(CrxInstaller);
};

Powered by Google App Engine
This is Rietveld 408576698