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

Unified Diff: chrome/browser/extensions/extension_updater.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/extension_updater.h
===================================================================
--- chrome/browser/extensions/extension_updater.h (revision 116798)
+++ chrome/browser/extensions/extension_updater.h (working copy)
@@ -208,6 +208,10 @@
// code should just call CheckSoon().
bool WillCheckSoon() const;
+ void set_use_utility_process_for_testing(bool value) {
+ use_utility_process_ = value;
+ }
+
private:
friend class ExtensionUpdaterTest;
friend class ExtensionUpdaterFileHandler;
@@ -383,6 +387,9 @@
// to keep more than one install from running at once.
bool crx_install_is_running_;
+ // True if the utility process is used, false otherwise (i.e. for tests).
+ bool use_utility_process_;
+
// Fetched CRX files waiting to be installed.
std::stack<FetchedCRXFile> fetched_crx_files_;

Powered by Google App Engine
This is Rietveld 408576698