Index: content/shell/browser/layout_test/layout_test_push_messaging_service.h |
diff --git a/content/shell/browser/layout_test/layout_test_push_messaging_service.h b/content/shell/browser/layout_test/layout_test_push_messaging_service.h |
index 35e50784e096d430d3f159fc12c9e9345aef9f30..2efea8ba73cf0841f9c4bd09da408a8883d72b70 100644 |
--- a/content/shell/browser/layout_test/layout_test_push_messaging_service.h |
+++ b/content/shell/browser/layout_test/layout_test_push_messaging_service.h |
@@ -23,7 +23,7 @@ class LayoutTestPushMessagingService : public PushMessagingService { |
GURL GetPushEndpoint() override; |
void SubscribeFromDocument( |
const GURL& requesting_origin, |
- int64 service_worker_registration_id, |
+ int64_t service_worker_registration_id, |
const std::string& sender_id, |
int renderer_id, |
int render_frame_id, |
@@ -31,17 +31,21 @@ class LayoutTestPushMessagingService : public PushMessagingService { |
const PushMessagingService::RegisterCallback& callback) override; |
void SubscribeFromWorker( |
const GURL& requesting_origin, |
- int64 service_worker_registration_id, |
+ int64_t service_worker_registration_id, |
const std::string& sender_id, |
bool user_visible, |
const PushMessagingService::RegisterCallback& callback) override; |
+ void GetPublicEncryptionKey( |
+ const GURL& origin, |
+ int64_t service_worker_registration_id, |
+ const PushMessagingService::PublicKeyCallback& callback) override; |
blink::WebPushPermissionStatus GetPermissionStatus( |
const GURL& requesting_origin, |
const GURL& embedding_origin, |
bool user_visible) override; |
bool SupportNonVisibleMessages() override; |
void Unsubscribe(const GURL& requesting_origin, |
- int64 service_worker_registration_id, |
+ int64_t service_worker_registration_id, |
const std::string& sender_id, |
const UnregisterCallback& callback) override; |