Index: chrome/browser/push_messaging/push_messaging_service_impl.h |
diff --git a/chrome/browser/push_messaging/push_messaging_service_impl.h b/chrome/browser/push_messaging/push_messaging_service_impl.h |
index 01de3982db2d46452e2fd023b321e285aa911c5a..72c64303017217850f0d12b8a5440e2224ffd7fb 100644 |
--- a/chrome/browser/push_messaging/push_messaging_service_impl.h |
+++ b/chrome/browser/push_messaging/push_messaging_service_impl.h |
@@ -20,8 +20,8 @@ |
class Profile; |
class PushMessagingApplicationId; |
-namespace user_prefs { |
-class PrefRegistrySyncable; |
+namespace content { |
+struct NotificationDatabaseData; |
} |
namespace gcm { |
@@ -29,6 +29,10 @@ class GCMDriver; |
class GCMProfileService; |
} |
+namespace user_prefs { |
+class PrefRegistrySyncable; |
+} |
+ |
class PushMessagingServiceImpl : public content::PushMessagingService, |
public gcm::GCMAppHandler, |
public content_settings::Observer, |
@@ -112,6 +116,13 @@ class PushMessagingServiceImpl : public content::PushMessagingService, |
// notification on their behalf. |
void RequireUserVisibleUX(const GURL& requesting_origin, |
int64 service_worker_registration_id); |
+ |
+ void DidGetNotificationsShowing( |
+ const GURL& requesting_origin, |
+ int64 service_worker_registration_id, |
+ bool success, |
+ const std::vector<content::NotificationDatabaseData>& data); |
+ |
void DidGetNotificationsShown( |
const GURL& requesting_origin, |
int64 service_worker_registration_id, |