| 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 2a4ed65949c8c60b9d7a6d8a28ce525a790e448e..ae56a5a5d206fd40be09e1db602832eb9625fc2d 100644
|
| --- a/chrome/browser/push_messaging/push_messaging_service_impl.h
|
| +++ b/chrome/browser/push_messaging/push_messaging_service_impl.h
|
| @@ -20,8 +20,9 @@
|
| class Profile;
|
| class PushMessagingApplicationId;
|
|
|
| -namespace user_prefs {
|
| -class PrefRegistrySyncable;
|
| +namespace content {
|
| +struct NotificationDatabaseData;
|
| +struct PlatformNotificationData;
|
| }
|
|
|
| namespace gcm {
|
| @@ -29,6 +30,10 @@ class GCMDriver;
|
| class GCMProfileService;
|
| }
|
|
|
| +namespace user_prefs {
|
| +class PrefRegistrySyncable;
|
| +}
|
| +
|
| class PushMessagingServiceImpl : public content::PushMessagingService,
|
| public gcm::GCMAppHandler,
|
| public content_settings::Observer,
|
| @@ -115,6 +120,14 @@ class PushMessagingServiceImpl : public content::PushMessagingService,
|
| void RequireUserVisibleUX(const GURL& requesting_origin,
|
| int64 service_worker_registration_id,
|
| const base::Closure& message_handled_closure);
|
| +
|
| + void DidGetNotificationsShowing(
|
| + const GURL& requesting_origin,
|
| + int64 service_worker_registration_id,
|
| + const base::Closure& message_handled_closure,
|
| + bool success,
|
| + const std::vector<content::NotificationDatabaseData>& data);
|
| +
|
| void DidGetNotificationsShown(
|
| const GURL& requesting_origin,
|
| int64 service_worker_registration_id,
|
| @@ -125,6 +138,13 @@ class PushMessagingServiceImpl : public content::PushMessagingService,
|
| bool success,
|
| bool not_found);
|
|
|
| + void DidWriteNotificationData(
|
| + const GURL& requesting_origin,
|
| + const content::PlatformNotificationData& notification_data,
|
| + const base::Closure& message_handled_closure,
|
| + bool success,
|
| + int64_t persistent_notification_id);
|
| +
|
| // Register methods ----------------------------------------------------------
|
|
|
| void RegisterEnd(
|
|
|