diff options
Diffstat (limited to 'chrome/browser/notifications/notification.h')
-rw-r--r-- | chrome/browser/notifications/notification.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/chrome/browser/notifications/notification.h b/chrome/browser/notifications/notification.h index ed63e04..e7f46bd 100644 --- a/chrome/browser/notifications/notification.h +++ b/chrome/browser/notifications/notification.h @@ -37,6 +37,10 @@ class Notification { 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(); } |