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

Unified Diff: chrome/browser/extensions/api/notifications/notifications_api.h

Issue 20136004: Allow partial update for notification update API (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fix trybots Created 7 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/api/notifications/notifications_api.h
diff --git a/chrome/browser/extensions/api/notifications/notifications_api.h b/chrome/browser/extensions/api/notifications/notifications_api.h
index 6949905e2266f46958561b6a3e19194049998df4..a465604d6811e87a61c124b188e8baf338605224 100644
--- a/chrome/browser/extensions/api/notifications/notifications_api.h
+++ b/chrome/browser/extensions/api/notifications/notifications_api.h
@@ -13,6 +13,8 @@
#include "chrome/common/extensions/api/notifications.h"
#include "ui/message_center/notification_types.h"
+class Notification;
+
namespace extensions {
class NotificationsApiFunction : public ApiFunction {
@@ -27,6 +29,9 @@ class NotificationsApiFunction : public ApiFunction {
bool CreateNotification(const std::string& id,
api::notifications::NotificationOptions* options);
+ bool UpdateNotification(const std::string& id,
+ api::notifications::NotificationOptions* options,
+ Notification* notification);
bool IsNotificationsApiEnabled();

Powered by Google App Engine
This is Rietveld 408576698