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

Unified Diff: content/browser/service_worker/embedded_worker_instance.h

Issue 2637743002: ServiceWorker: remove EmbeddedWorkerMsg_StartWorker (Closed)
Patch Set: rebase Created 3 years, 11 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
« no previous file with comments | « no previous file | content/browser/service_worker/embedded_worker_instance.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/browser/service_worker/embedded_worker_instance.h
diff --git a/content/browser/service_worker/embedded_worker_instance.h b/content/browser/service_worker/embedded_worker_instance.h
index 2054db87776bbaca59c169e8873c47a3139d3a5d..e5701ff779c4aab5b46f4e07151a0be6afb33fa3 100644
--- a/content/browser/service_worker/embedded_worker_instance.h
+++ b/content/browser/service_worker/embedded_worker_instance.h
@@ -216,7 +216,7 @@ class CONTENT_EXPORT EmbeddedWorkerInstance {
bool wait_for_debugger);
// Sends StartWorker message via Mojo.
- ServiceWorkerStatusCode SendMojoStartWorker(
+ ServiceWorkerStatusCode SendStartWorker(
std::unique_ptr<EmbeddedWorkerStartParams> params);
// Called back from StartTask after a start worker message is sent.
@@ -306,7 +306,8 @@ class CONTENT_EXPORT EmbeddedWorkerInstance {
// |client_| is used to send messages to the renderer process.
mojom::EmbeddedWorkerInstanceClientPtr client_;
- // TODO(shimazu): Remove this after non-mojo StartWorker is removed.
+ // TODO(shimazu): Remove this after EmbeddedWorkerStartParams is changed to
+ // a mojo struct.
mojom::ServiceWorkerEventDispatcherRequest pending_dispatcher_request_;
// Whether devtools is attached or not.
« no previous file with comments | « no previous file | content/browser/service_worker/embedded_worker_instance.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698