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

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

Issue 10830036: Moved the AppNotification system 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
Index: chrome/browser/extensions/app_notification_manager.cc
diff --git a/chrome/browser/extensions/app_notification_manager.cc b/chrome/browser/extensions/app_notification_manager.cc
index aba6fb2daa405375d7c717eee11a7d868c141009..2dbaaf452ee8c5d6e041c0ca365ba8394f5d7a12 100644
--- a/chrome/browser/extensions/app_notification_manager.cc
+++ b/chrome/browser/extensions/app_notification_manager.cc
@@ -24,6 +24,8 @@ using content::BrowserThread;
typedef std::map<std::string, syncer::SyncData> SyncDataMap;
+namespace extensions {
+
namespace {
class GuidComparator
@@ -175,7 +177,7 @@ void AppNotificationManager::Observe(
const content::NotificationSource& source,
const content::NotificationDetails& details) {
CHECK(type == chrome::NOTIFICATION_EXTENSION_UNINSTALLED);
- ClearAll(content::Details<const extensions::Extension>(details).ptr()->id());
+ ClearAll(content::Details<const Extension>(details).ptr()->id());
}
syncer::SyncDataList AppNotificationManager::GetAllSyncData(
@@ -584,3 +586,5 @@ AppNotification* AppNotificationManager::CreateNotificationFromSyncData(
notification->set_link_url(GURL(specifics.link_url()));
return notification;
}
+
+} // namespace extensions

Powered by Google App Engine
This is Rietveld 408576698