| 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 449154b9426a8e321279616975b9bf8ce2507d54..4776dd960ef73b9ba3bf69a5c08c0786d31cefbc 100644
|
| --- a/chrome/browser/push_messaging/push_messaging_service_impl.h
|
| +++ b/chrome/browser/push_messaging/push_messaging_service_impl.h
|
| @@ -23,6 +23,7 @@
|
| #include "components/gcm_driver/gcm_client.h"
|
| #include "components/keyed_service/core/keyed_service.h"
|
| #include "content/public/browser/push_messaging_service.h"
|
| +#include "content/public/common/content_push_subscription_options.h"
|
| #include "content/public/common/permission_status.mojom.h"
|
| #include "content/public/common/push_event_payload.h"
|
| #include "content/public/common/push_messaging_status.h"
|
| @@ -74,16 +75,14 @@ class PushMessagingServiceImpl : public content::PushMessagingService,
|
| void SubscribeFromDocument(
|
| const GURL& requesting_origin,
|
| int64_t service_worker_registration_id,
|
| - const std::string& sender_id,
|
| int renderer_id,
|
| int render_frame_id,
|
| - bool user_visible,
|
| + const content::ContentPushSubscriptionOptions& options,
|
| const content::PushMessagingService::RegisterCallback& callback) override;
|
| void SubscribeFromWorker(
|
| const GURL& requesting_origin,
|
| int64_t service_worker_registration_id,
|
| - const std::string& sender_id,
|
| - bool user_visible,
|
| + const content::ContentPushSubscriptionOptions& options,
|
| const content::PushMessagingService::RegisterCallback& callback) override;
|
| void GetEncryptionInfo(
|
| const GURL& origin,
|
| @@ -166,7 +165,7 @@ class PushMessagingServiceImpl : public content::PushMessagingService,
|
|
|
| void DidRequestPermission(
|
| const PushMessagingAppIdentifier& app_identifier,
|
| - const std::string& sender_id,
|
| + const content::ContentPushSubscriptionOptions& options,
|
| const content::PushMessagingService::RegisterCallback& callback,
|
| content::PermissionStatus permission_status);
|
|
|
|
|