| Index: chrome/browser/notifications/notification_delegate.h
|
| diff --git a/chrome/browser/notifications/notification_delegate.h b/chrome/browser/notifications/notification_delegate.h
|
| index 81a4a00fa7a3257fd20d7c2607facf24437be5d3..dae7794bd18696849beb41fd5451c20e763f8692 100644
|
| --- a/chrome/browser/notifications/notification_delegate.h
|
| +++ b/chrome/browser/notifications/notification_delegate.h
|
| @@ -10,6 +10,10 @@
|
|
|
| #include "base/memory/ref_counted.h"
|
|
|
| +namespace content {
|
| +class RenderViewHost;
|
| +}
|
| +
|
| // Delegate for a notification. This class has two role, to implement
|
| // callback methods for notification, and provides an identify of
|
| // the associated notification.
|
| @@ -33,6 +37,9 @@ class NotificationDelegate
|
| // Returns unique id of the notification.
|
| virtual std::string id() const = 0;
|
|
|
| + // Returns the RenderViewHost that generated the notification, or NULL.
|
| + virtual content::RenderViewHost* GetRenderViewHost() const = 0;
|
| +
|
| protected:
|
| virtual ~NotificationDelegate() {}
|
|
|
|
|