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

Unified Diff: content/browser/service_worker/service_worker_version.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/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 925380dcd9072fc3d420cbbfdd83a53173d85e87..214cd58e011597b028a4fa8423a14f167630bd01 100644
--- a/content/browser/service_worker/service_worker_version.h
+++ b/content/browser/service_worker/service_worker_version.h
@@ -246,14 +246,6 @@ class CONTENT_EXPORT ServiceWorkerVersion
template <typename ResponseMessage>
void DispatchSimpleEvent(int request_id, const IPC::Message& message);
- // Sends a message event to the associated embedded worker.
- // TODO(nhiroki): Remove this after ExtendableMessageEvent is enabled by
- // default (crbug.com/543198).
- void DispatchMessageEvent(
- const base::string16& message,
- const std::vector<TransferredMessagePort>& sent_message_ports,
- const StatusCallback& callback);
-
// Adds and removes |provider_host| as a controllee of this ServiceWorker.
// A potential controllee is a host having the version as its .installing
// or .waiting version.
@@ -495,11 +487,6 @@ class CONTENT_EXPORT ServiceWorkerVersion
void OnStartSentAndScriptEvaluated(ServiceWorkerStatusCode status);
- void DispatchMessageEventInternal(
- const base::string16& message,
- const std::vector<TransferredMessagePort>& sent_message_ports,
- const StatusCallback& callback);
-
// Message handlers.
// This corresponds to the spec's get(id) steps.
« no previous file with comments | « content/browser/service_worker/service_worker_metrics.cc ('k') | content/browser/service_worker/service_worker_version.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698