Index: chrome/browser/notifications/notification_handler.h |
diff --git a/chrome/browser/notifications/notification_handler.h b/chrome/browser/notifications/notification_handler.h |
index e30f7aec97afd773aeefe14db192f262f9adcfb2..3e513963f1025b66135ae6788d2e0abb3345005f 100644 |
--- a/chrome/browser/notifications/notification_handler.h |
+++ b/chrome/browser/notifications/notification_handler.h |
@@ -15,11 +15,14 @@ class NullableString16; |
class Profile; |
// Interface that enables the different kind of notifications to process |
-// operations coming from the user. |
+// operations coming from the user or decisions made by the underlying |
+// notification type. |
class NotificationHandler { |
public: |
virtual ~NotificationHandler() {} |
+ virtual void OnShow(Profile* profile, const std::string& notification_id) = 0; |
+ |
// Process notification close events. |
virtual void OnClose(Profile* profile, |
const std::string& origin, |