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

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

Issue 10824030: Move ExtensionHost into extensions namespace (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Created 8 years, 5 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_service.cc
diff --git a/chrome/browser/extensions/extension_service.cc b/chrome/browser/extensions/extension_service.cc
index ba17841c743a37b9bcc5953b625b3b2402eb2918..85ef63a920913143be0d2901b02e7b0c7b1218a6 100644
--- a/chrome/browser/extensions/extension_service.cc
+++ b/chrome/browser/extensions/extension_service.cc
@@ -634,7 +634,8 @@ void ExtensionService::ReloadExtension(const std::string& extension_id) {
// later.
// TODO(yoz): this is not incognito-safe!
ExtensionProcessManager* manager = system_->process_manager();
- ExtensionHost* host = manager->GetBackgroundHostForExtension(extension_id);
+ extensions::ExtensionHost* host =
+ manager->GetBackgroundHostForExtension(extension_id);
if (host && DevToolsAgentHostRegistry::HasDevToolsAgentHost(
host->render_view_host())) {
// Look for an open inspector for the background page.
@@ -2312,7 +2313,7 @@ void ExtensionService::ReportExtensionLoadError(
}
void ExtensionService::DidCreateRenderViewForBackgroundPage(
- ExtensionHost* host) {
+ extensions::ExtensionHost* host) {
OrphanedDevTools::iterator iter =
orphaned_dev_tools_.find(host->extension_id());
if (iter == orphaned_dev_tools_.end())
@@ -2335,7 +2336,8 @@ void ExtensionService::Observe(int type,
break;
}
- ExtensionHost* host = content::Details<ExtensionHost>(details).ptr();
+ extensions::ExtensionHost* host =
+ content::Details<extensions::ExtensionHost>(details).ptr();
// Mark the extension as terminated and Unload it. We want it to
// be in a consistent state: either fully working or not loaded

Powered by Google App Engine
This is Rietveld 408576698