| 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 2a472ec3280b32d4ed06093f36022e00cc4c53b1..35e50784e096d430d3f159fc12c9e9345aef9f30 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
|
| @@ -21,7 +21,7 @@ class LayoutTestPushMessagingService : public PushMessagingService {
|
|
|
| // PushMessagingService implementation:
|
| GURL GetPushEndpoint() override;
|
| - void RegisterFromDocument(
|
| + void SubscribeFromDocument(
|
| const GURL& requesting_origin,
|
| int64 service_worker_registration_id,
|
| const std::string& sender_id,
|
| @@ -29,7 +29,7 @@ class LayoutTestPushMessagingService : public PushMessagingService {
|
| int render_frame_id,
|
| bool user_visible,
|
| const PushMessagingService::RegisterCallback& callback) override;
|
| - void RegisterFromWorker(
|
| + void SubscribeFromWorker(
|
| const GURL& requesting_origin,
|
| int64 service_worker_registration_id,
|
| const std::string& sender_id,
|
| @@ -40,10 +40,10 @@ class LayoutTestPushMessagingService : public PushMessagingService {
|
| const GURL& embedding_origin,
|
| bool user_visible) override;
|
| bool SupportNonVisibleMessages() override;
|
| - void Unregister(const GURL& requesting_origin,
|
| - int64 service_worker_registration_id,
|
| - const std::string& sender_id,
|
| - const UnregisterCallback& callback) override;
|
| + void Unsubscribe(const GURL& requesting_origin,
|
| + int64 service_worker_registration_id,
|
| + const std::string& sender_id,
|
| + const UnregisterCallback& callback) override;
|
|
|
| private:
|
| DISALLOW_COPY_AND_ASSIGN(LayoutTestPushMessagingService);
|
|
|