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

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

Issue 10626007: Move ExtensionSystem into extensions namespace (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Created 8 years, 6 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_message_service.cc
diff --git a/chrome/browser/extensions/extension_message_service.cc b/chrome/browser/extensions/extension_message_service.cc
index 6f4a6cd131b57c1043f7293c016dd1629949daef..d9f547740f78cec3fe2a58643b9dd7100dd4cce0 100644
--- a/chrome/browser/extensions/extension_message_service.cc
+++ b/chrome/browser/extensions/extension_message_service.cc
@@ -139,7 +139,7 @@ static void IncrementLazyKeepaliveCount(
Profile* profile =
Profile::FromBrowserContext(port->process->GetBrowserContext());
ExtensionProcessManager* pm =
- ExtensionSystem::Get(profile)->process_manager();
+ extensions::ExtensionSystem::Get(profile)->process_manager();
ExtensionHost* host = pm->GetBackgroundHostForExtension(port->extension_id);
if (host && host->extension()->has_lazy_background_page())
pm->IncrementLazyKeepaliveCount(host->extension());
@@ -154,7 +154,7 @@ static void DecrementLazyKeepaliveCount(
Profile* profile =
Profile::FromBrowserContext(port->process->GetBrowserContext());
ExtensionProcessManager* pm =
- ExtensionSystem::Get(profile)->process_manager();
+ extensions::ExtensionSystem::Get(profile)->process_manager();
ExtensionHost* host = pm->GetBackgroundHostForExtension(port->extension_id);
if (host && host == port->background_host_ptr)
pm->DecrementLazyKeepaliveCount(host->extension());

Powered by Google App Engine
This is Rietveld 408576698