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

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 6 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
« no previous file with comments | « chrome/browser/extensions/extension_host.h ('k') | chrome/browser/extensions/extension_host_mac.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/extensions/extension_host.cc
diff --git a/chrome/browser/extensions/extension_host.cc b/chrome/browser/extensions/extension_host.cc
index e5088af3fdc9ef665c82e8c56e3f7016be09cca5..ea90c451a9409cd09f3fb20d95cb9be049ffc52c 100644
--- a/chrome/browser/extensions/extension_host.cc
+++ b/chrome/browser/extensions/extension_host.cc
@@ -123,7 +123,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)
@@ -245,7 +245,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;
}
@@ -276,7 +276,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;
« no previous file with comments | « chrome/browser/extensions/extension_host.h ('k') | chrome/browser/extensions/extension_host_mac.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698