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

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

Issue 341050: Implement loading blacklists from extensions.... (Closed) Base URL: http://src.chromium.org/svn/trunk/src/
Patch Set: use real extension Created 11 years, 1 month 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/browser/extensions/extension_host.cc ('k') | chrome/browser/extensions/extensions_service.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/extensions/extension_process_manager.cc
diff --git a/chrome/browser/extensions/extension_process_manager.cc b/chrome/browser/extensions/extension_process_manager.cc
index e9bb7c49c090bbec6d4ab098ad85904e02dac9ab..671869142d423e17ffe3ac1b4b1db6131497dce4 100644
--- a/chrome/browser/extensions/extension_process_manager.cc
+++ b/chrome/browser/extensions/extension_process_manager.cc
@@ -175,11 +175,12 @@ void ExtensionProcessManager::Observe(NotificationType type,
switch (type.value) {
case NotificationType::EXTENSIONS_READY:
CreateBackgroundHosts(this,
- Source<ExtensionsService>(source).ptr()->extensions());
+ Source<Profile>(source).ptr()->GetExtensionsService()->extensions());
break;
case NotificationType::EXTENSION_LOADED: {
- ExtensionsService* service = Source<ExtensionsService>(source).ptr();
+ ExtensionsService* service =
+ Source<Profile>(source).ptr()->GetExtensionsService();
if (service->is_ready()) {
Extension* extension = Details<Extension>(details).ptr();
::CreateBackgroundHost(this, extension);
« no previous file with comments | « chrome/browser/extensions/extension_host.cc ('k') | chrome/browser/extensions/extensions_service.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698