| Index: content/browser/service_worker/service_worker_version.h
|
| diff --git a/content/browser/service_worker/service_worker_version.h b/content/browser/service_worker/service_worker_version.h
|
| index 96c54453043cc695265eb67c440b6f02a2f8f172..e146ae8ba326a36f4b686331fa40d917f56341fb 100644
|
| --- a/content/browser/service_worker/service_worker_version.h
|
| +++ b/content/browser/service_worker/service_worker_version.h
|
| @@ -270,14 +270,6 @@ class CONTENT_EXPORT ServiceWorkerVersion
|
| const PlatformNotificationData& notification_data,
|
| int action_index);
|
|
|
| - // Sends push event to the associated embedded worker and asynchronously calls
|
| - // |callback| when it errors out or it gets a response from the worker to
|
| - // notify completion.
|
| - //
|
| - // This must be called when the status() is ACTIVATED.
|
| - void DispatchPushEvent(const StatusCallback& callback,
|
| - const std::string& data);
|
| -
|
| // Sends a cross origin message event to the associated embedded worker and
|
| // asynchronously calls |callback| when the message was sent (or failed to
|
| // sent).
|
| @@ -404,7 +396,6 @@ class CONTENT_EXPORT ServiceWorkerVersion
|
| REQUEST_INSTALL,
|
| REQUEST_FETCH,
|
| REQUEST_NOTIFICATION_CLICK,
|
| - REQUEST_PUSH,
|
| REQUEST_CUSTOM,
|
| NUM_REQUEST_TYPES
|
| };
|
| @@ -566,8 +557,6 @@ class CONTENT_EXPORT ServiceWorkerVersion
|
| ServiceWorkerFetchEventResult result,
|
| const ServiceWorkerResponse& response);
|
| void OnNotificationClickEventFinished(int request_id);
|
| - void OnPushEventFinished(int request_id,
|
| - blink::WebServiceWorkerEventResult result);
|
| void OnOpenWindow(int request_id, GURL url);
|
| void OnOpenWindowFinished(int request_id,
|
| ServiceWorkerStatusCode status,
|
| @@ -696,7 +685,6 @@ class CONTENT_EXPORT ServiceWorkerVersion
|
| IDMap<PendingRequest<FetchCallback>, IDMapOwnPointer> fetch_requests_;
|
| IDMap<PendingRequest<StatusCallback>, IDMapOwnPointer>
|
| notification_click_requests_;
|
| - IDMap<PendingRequest<StatusCallback>, IDMapOwnPointer> push_requests_;
|
| IDMap<PendingRequest<StatusCallback>, IDMapOwnPointer> custom_requests_;
|
|
|
| // Stores all open connections to mojo services. Maps the service name to
|
|
|