Index: content/browser/notifications/page_notification_delegate.h |
diff --git a/content/browser/notifications/page_notification_delegate.h b/content/browser/notifications/page_notification_delegate.h |
deleted file mode 100644 |
index 497255bad0a20b66e9d10e2bf2ee7d18c2875aa5..0000000000000000000000000000000000000000 |
--- a/content/browser/notifications/page_notification_delegate.h |
+++ /dev/null |
@@ -1,37 +0,0 @@ |
-// Copyright 2014 The Chromium Authors. All rights reserved. |
-// Use of this source code is governed by a BSD-style license that can be |
-// found in the LICENSE file. |
- |
-#ifndef CONTENT_BROWSER_NOTIFICATIONS_PAGE_NOTIFICATION_DELEGATE_H_ |
-#define CONTENT_BROWSER_NOTIFICATIONS_PAGE_NOTIFICATION_DELEGATE_H_ |
- |
-#include <string> |
- |
-#include "content/public/browser/desktop_notification_delegate.h" |
- |
-namespace content { |
- |
-// A delegate used by the notification service to report the results of platform |
-// notification interactions to Web Notifications whose lifetime is tied to |
-// that of the page displaying them. |
-class PageNotificationDelegate : public DesktopNotificationDelegate { |
- public: |
- PageNotificationDelegate(int render_process_id, |
- int non_persistent_notification_id, |
- const std::string& notification_id); |
- ~PageNotificationDelegate() override; |
- |
- // DesktopNotificationDelegate implementation. |
- void NotificationDisplayed() override; |
- void NotificationClosed() override; |
- void NotificationClick() override; |
- |
- private: |
- int render_process_id_; |
- int non_persistent_notification_id_; |
- std::string notification_id_; |
-}; |
- |
-} // namespace content |
- |
-#endif // CONTENT_BROWSER_NOTIFICATIONS_PAGE_NOTIFICATION_DELEGATE_H_ |