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

Unified Diff: chrome/browser/notifications/notification.h

Issue 363003: Implement cancel() API on a Notification object so that script can cancel or ... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 11 years, 1 month 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/notification.h
===================================================================
--- chrome/browser/notifications/notification.h (revision 30967)
+++ chrome/browser/notifications/notification.h (working copy)
@@ -37,6 +37,10 @@
void Error() const { proxy()->Error(); }
void Close(bool by_user) const { proxy()->Close(by_user); }
+ bool IsSame(const Notification& other) const {
+ return (*proxy_).IsSame(*(other.proxy()));
+ }
+
private:
NotificationObjectProxy* proxy() const { return proxy_.get(); }
« no previous file with comments | « chrome/browser/notifications/desktop_notification_service.cc ('k') | chrome/browser/notifications/notification_object_proxy.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698