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

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

Issue 8382010: Some fixups for app notifications: (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: '' Created 9 years, 2 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_app_api.cc
===================================================================
--- chrome/browser/extensions/extension_app_api.cc (revision 106989)
+++ chrome/browser/extensions/extension_app_api.cc (working copy)
@@ -72,11 +72,6 @@
manager->Add(item.release());
- content::NotificationService::current()->Notify(
- chrome::NOTIFICATION_APP_NOTIFICATION_STATE_CHANGED,
- content::Source<Profile>(profile_),
- content::Details<const std::string>(&id));
-
return true;
}
@@ -94,9 +89,5 @@
AppNotificationManager* manager =
profile()->GetExtensionService()->app_notification_manager();
manager->ClearAll(id);
- content::NotificationService::current()->Notify(
- chrome::NOTIFICATION_APP_NOTIFICATION_STATE_CHANGED,
- content::Source<Profile>(profile_),
- content::Details<const std::string>(&id));
return true;
}
« no previous file with comments | « chrome/browser/extensions/app_notification_manager_sync_unittest.cc ('k') | chrome/browser/resources/ntp4/apps_page.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698