Index: chrome/browser/notifications/platform_notification_service_impl.h |
diff --git a/chrome/browser/notifications/platform_notification_service_impl.h b/chrome/browser/notifications/platform_notification_service_impl.h |
index 2c7f96bc357bfc74e5218838e45de3ced271608f..4dd3977804c354e4ba859dca89579429fa6c178b 100644 |
--- a/chrome/browser/notifications/platform_notification_service_impl.h |
+++ b/chrome/browser/notifications/platform_notification_service_impl.h |
@@ -18,6 +18,7 @@ |
#include "base/memory/singleton.h" |
#include "base/strings/string16.h" |
#include "chrome/browser/notifications/notification.h" |
+#include "chrome/browser/notifications/notification_common.h" |
#include "chrome/browser/profiles/profile.h" |
#include "chrome/common/features.h" |
#include "content/public/browser/platform_notification_service.h" |
@@ -42,13 +43,6 @@ class PushMessagingBrowserTest; |
class PlatformNotificationServiceImpl |
: public content::PlatformNotificationService { |
public: |
- // Things you can do to a notification. |
- enum NotificationOperation { |
- NOTIFICATION_CLICK, |
- NOTIFICATION_CLOSE, |
- NOTIFICATION_SETTINGS |
- }; |
- |
// Returns the active instance of the service in the browser process. Safe to |
// be called from any thread. |
static PlatformNotificationServiceImpl* GetInstance(); |
@@ -56,7 +50,7 @@ class PlatformNotificationServiceImpl |
// Load the profile corresponding to |profile_id| and perform the |
// |operation| on the given notification once it has been loaded. |
void ProcessPersistentNotificationOperation( |
- NotificationOperation operation, |
+ NotificationCommon::Operation operation, |
const std::string& profile_id, |
bool incognito, |
const GURL& origin, |
@@ -81,10 +75,6 @@ class PlatformNotificationServiceImpl |
const GURL& origin, |
bool by_user); |
- |
- // Open the Notification settings screen when clicking the right button. |
- void OpenNotificationSettings(content::BrowserContext* browser_context); |
- |
// content::PlatformNotificationService implementation. |
blink::mojom::PermissionStatus CheckPermissionOnUIThread( |
content::BrowserContext* browser_context, |