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

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

Issue 10375021: Move Extension into extensions namespace (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Take 2 Created 8 years, 7 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_host.cc
diff --git a/chrome/browser/extensions/extension_host.cc b/chrome/browser/extensions/extension_host.cc
index d7507ec4f513765c11c695de0c73806f84ef42b2..a444fea3d006280c157427237793d52f92c3fbaf 100644
--- a/chrome/browser/extensions/extension_host.cc
+++ b/chrome/browser/extensions/extension_host.cc
@@ -121,7 +121,7 @@ class ExtensionHost::ProcessCreationQueue {
////////////////
// ExtensionHost
-ExtensionHost::ExtensionHost(const Extension* extension,
+ExtensionHost::ExtensionHost(const extensions::Extension* extension,
SiteInstance* site_instance,
const GURL& url,
content::ViewType host_type)
@@ -243,7 +243,7 @@ void ExtensionHost::LoadInitialURL() {
!profile_->GetExtensionService()->IsBackgroundPageReady(extension_)) {
// Make sure the background page loads before any others.
registrar_.Add(this, chrome::NOTIFICATION_EXTENSION_BACKGROUND_PAGE_READY,
- content::Source<Extension>(extension_));
+ content::Source<extensions::Extension>(extension_));
return;
}
@@ -274,7 +274,8 @@ void ExtensionHost::Observe(int type,
// when multiple ExtensionHost objects pointing to the same Extension are
// present.
if (extension_ ==
- content::Details<UnloadedExtensionInfo>(details)->extension) {
+ content::Details<extensions::UnloadedExtensionInfo>(
+ details)->extension) {
extension_ = NULL;
}
break;

Powered by Google App Engine
This is Rietveld 408576698