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

Unified Diff: chrome/browser/notifications/desktop_notification_service.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
Index: chrome/browser/notifications/desktop_notification_service.cc
diff --git a/chrome/browser/notifications/desktop_notification_service.cc b/chrome/browser/notifications/desktop_notification_service.cc
index ff351763a0e886310e39203b1a34caf3e58de1c3..f8527ab3556fea41b10fffc94585207bc06df909 100644
--- a/chrome/browser/notifications/desktop_notification_service.cc
+++ b/chrome/browser/notifications/desktop_notification_service.cc
@@ -270,8 +270,8 @@ void DesktopNotificationService::Observe(
if (type == chrome::NOTIFICATION_EXTENSION_UNLOADED) {
// Remove all notifications currently shown or queued by the extension
// which was unloaded.
- const Extension* extension =
- content::Details<UnloadedExtensionInfo>(details)->extension;
+ const extensions::Extension* extension =
+ content::Details<extensions::UnloadedExtensionInfo>(details)->extension;
if (extension)
GetUIManager()->CancelAllBySourceOrigin(extension->url());
} else if (type == chrome::NOTIFICATION_PROFILE_DESTROYED) {
@@ -408,7 +408,7 @@ string16 DesktopNotificationService::DisplayNameForOrigin(
if (origin.SchemeIs(chrome::kExtensionScheme)) {
ExtensionService* extension_service = profile_->GetExtensionService();
if (extension_service) {
- const Extension* extension =
+ const extensions::Extension* extension =
extension_service->extensions()->GetExtensionOrAppByURL(
ExtensionURLInfo(
WebSecurityOrigin::createFromString(
« no previous file with comments | « chrome/browser/nacl_host/nacl_process_host.cc ('k') | chrome/browser/notifications/notification_options_menu_model.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698