diff options
Diffstat (limited to 'chrome/browser/notifications/notification.h')
-rw-r--r-- | chrome/browser/notifications/notification.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/chrome/browser/notifications/notification.h b/chrome/browser/notifications/notification.h index 7b0ab8c..2040cf3 100644 --- a/chrome/browser/notifications/notification.h +++ b/chrome/browser/notifications/notification.h @@ -6,6 +6,8 @@ #define CHROME_BROWSER_NOTIFICATIONS_NOTIFICATION_H_ #pragma once +#include <string> + #include "base/basictypes.h" #include "chrome/browser/notifications/notification_object_proxy.h" #include "googleurl/src/gurl.h" @@ -42,7 +44,7 @@ class Notification { void Click() const { delegate()->Click(); } void Close(bool by_user) const { delegate()->Close(by_user); } - bool IsSame(const Notification& other) const; + std::string notification_id() const { return delegate()->id(); } private: NotificationDelegate* delegate() const { return delegate_.get(); } |