Index: chrome/browser/web_resource/notification_promo.h |
diff --git a/chrome/browser/web_resource/notification_promo.h b/chrome/browser/web_resource/notification_promo.h |
index de40cca3791f2e43ce9e85f0c8f7c49237a839f7..bdc1d89e828f296c119b2f90f2b2fe017dcce757 100644 |
--- a/chrome/browser/web_resource/notification_promo.h |
+++ b/chrome/browser/web_resource/notification_promo.h |
@@ -28,12 +28,14 @@ class NotificationPromo |
public: |
class Delegate { |
public: |
- virtual ~Delegate() {} |
- virtual void OnNotificationParsed(double start, double end, |
- bool new_notification) = 0; |
- // For testing. |
- virtual bool IsBuildAllowed(int builds_targeted) const { return false; } |
- virtual int CurrentPlatform() const { return PLATFORM_NONE; } |
+ virtual void OnNotificationParsed(double start, double end, |
+ bool new_notification) = 0; |
+ // For testing. |
+ virtual bool IsBuildAllowed(int builds_targeted) const { return false; } |
+ virtual int CurrentPlatform() const { return PLATFORM_NONE; } |
+ |
+ protected: |
+ virtual ~Delegate() {} |
}; |
// Static factory for creating new notification promos. |