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

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: Latest master for cq 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
« no previous file with comments | « chrome/browser/extensions/extension_service.h ('k') | chrome/browser/extensions/gpu_browsertest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/extensions/extension_service.cc
diff --git a/chrome/browser/extensions/extension_service.cc b/chrome/browser/extensions/extension_service.cc
index b4f927a3d6e276d662c5977cd4a6e4d33219b5a0..a4da7a8c2a9c4f097f3a76dc6fbe8056bced78d7 100644
--- a/chrome/browser/extensions/extension_service.cc
+++ b/chrome/browser/extensions/extension_service.cc
@@ -635,7 +635,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.
@@ -2313,7 +2314,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())
@@ -2336,7 +2337,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
« no previous file with comments | « chrome/browser/extensions/extension_service.h ('k') | chrome/browser/extensions/gpu_browsertest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698