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

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

Issue 139943005: Convert extensions::ProcessMap to BrowserContextKeyedService (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebase process_map 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
Index: chrome/browser/extensions/extension_function_dispatcher.cc
diff --git a/chrome/browser/extensions/extension_function_dispatcher.cc b/chrome/browser/extensions/extension_function_dispatcher.cc
index f506d1a35330fe3323750bc92fc2f771e6094310..d305729da54220fe5bfa8bcb2e9fa1c5696ec228 100644
--- a/chrome/browser/extensions/extension_function_dispatcher.cc
+++ b/chrome/browser/extensions/extension_function_dispatcher.cc
@@ -335,7 +335,8 @@ void ExtensionFunctionDispatcher::DispatchWithCallbackInternal(
ExtensionSystem* extension_system =
ExtensionSystem::GetForBrowserContext(browser_context_);
ExtensionService* service = extension_system->extension_service();
- extensions::ProcessMap* process_map = service->process_map();
+ extensions::ProcessMap* process_map =
+ extensions::ProcessMap::Get(browser_context_);
if (!process_map)
return;
« no previous file with comments | « chrome/browser/extensions/extension_crash_recovery_browsertest.cc ('k') | chrome/browser/extensions/extension_service.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698