Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(573)

Unified Diff: content/common/service_worker/service_worker_messages.h

Issue 1877283002: ServiceWorker: Remove unused MessageEvent implementation from ServiceWorkerGlobalScope (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase Created 4 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: content/common/service_worker/service_worker_messages.h
diff --git a/content/common/service_worker/service_worker_messages.h b/content/common/service_worker/service_worker_messages.h
index 41698cff41ede5374dc8c9e6a3d268411247f6df..e3efe10a65b4aeaadfc35f23276b939e2180cf6b 100644
--- a/content/common/service_worker/service_worker_messages.h
+++ b/content/common/service_worker/service_worker_messages.h
@@ -200,15 +200,6 @@ IPC_MESSAGE_CONTROL5(
url::Origin /* source_origin */,
std::vector<content::TransferredMessagePort> /* sent_message_ports */)
-// Sends MessageEvent to a service worker (renderer->browser).
-// TODO(nhiroki): Remove this after ExtendableMessageEvent is enabled by
-// default (crbug.com/543198).
-IPC_MESSAGE_CONTROL3(
- ServiceWorkerHostMsg_DeprecatedPostMessageToWorker,
- int /* handle_id */,
- base::string16 /* message */,
- std::vector<content::TransferredMessagePort> /* sent_message_ports */)
-
// Informs the browser of a new ServiceWorkerProvider in the child process,
// |provider_id| is unique within its child process. When this provider is
// created for a document, |route_id| is the frame ID of it. When this provider
@@ -502,14 +493,6 @@ IPC_MESSAGE_CONTROL4(ServiceWorkerMsg_GeofencingEvent,
std::string /* region_id */,
blink::WebCircularGeofencingRegion /* region */)
-// TODO(nhiroki): Remove this after ExtendableMessageEvent is enabled by
-// default (crbug.com/543198).
-IPC_MESSAGE_CONTROL3(
- ServiceWorkerMsg_MessageToWorker,
- base::string16 /* message */,
- std::vector<content::TransferredMessagePort> /* sent_message_ports */,
- std::vector<int> /* new_routing_ids */)
-
IPC_MESSAGE_CONTROL1(ServiceWorkerMsg_DidSkipWaiting,
int /* request_id */)
IPC_MESSAGE_CONTROL1(ServiceWorkerMsg_DidClaimClients,

Powered by Google App Engine
This is Rietveld 408576698