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

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

Issue 671763002: Extract ProcessManager from ExtensionSystem. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebased. Created 6 years, 2 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/devtools_util.cc
diff --git a/chrome/browser/extensions/devtools_util.cc b/chrome/browser/extensions/devtools_util.cc
index 28e47906ca352367583a935b7c39a677026ae3e0..8f75ac74c20ba09f5b45c96704b7ee24e903176c 100644
--- a/chrome/browser/extensions/devtools_util.cc
+++ b/chrome/browser/extensions/devtools_util.cc
@@ -28,8 +28,8 @@ void InspectExtensionHost(ExtensionHost* host) {
void InspectBackgroundPage(const Extension* extension, Profile* profile) {
DCHECK(extension);
ExtensionSystem* system = ExtensionSystem::Get(profile);
- ExtensionHost* host =
- system->process_manager()->GetBackgroundHostForExtension(extension->id());
+ ExtensionHost* host = ProcessManager::Get(profile)
+ ->GetBackgroundHostForExtension(extension->id());
if (host) {
InspectExtensionHost(host);
} else {
« no previous file with comments | « chrome/browser/extensions/chrome_process_manager_delegate.cc ('k') | chrome/browser/extensions/extension_bindings_apitest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698