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

Unified Diff: extensions/browser/process_manager.cc

Issue 101203008: Allow app_shell to run past extension manifest parsing (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: cleanup register_manifest Created 6 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
« no previous file with comments | « chrome/common/extensions/chrome_manifest_handlers.cc ('k') | extensions/common/common_manifest_handlers.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: extensions/browser/process_manager.cc
diff --git a/extensions/browser/process_manager.cc b/extensions/browser/process_manager.cc
index 7a362e329a387c7b90e8b3776fc65accb7e26723..704b7197518f832788e7165c614087a31cc8388a 100644
--- a/extensions/browser/process_manager.cc
+++ b/extensions/browser/process_manager.cc
@@ -594,9 +594,9 @@ void ProcessManager::Observe(int type,
case chrome::NOTIFICATION_EXTENSION_LOADED: {
BrowserContext* context = content::Source<BrowserContext>(source).ptr();
- ExtensionService* service =
- ExtensionSystem::GetForBrowserContext(context)->extension_service();
- if (service->is_ready()) {
+ ExtensionSystem* system = ExtensionSystem::GetForBrowserContext(context);
+ if (system->ready().is_signaled()) {
+ // The extension system is ready, so create the background host.
const Extension* extension =
content::Details<const Extension>(details).ptr();
CreateBackgroundHostForExtensionLoad(this, extension);
« no previous file with comments | « chrome/common/extensions/chrome_manifest_handlers.cc ('k') | extensions/common/common_manifest_handlers.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698