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

Side by Side Diff: content/common/service_worker/embedded_worker_messages.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 unified diff | Download patch
« no previous file with comments | « content/common/BUILD.gn ('k') | content/common/service_worker/embedded_worker_setup.mojom » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 // Message definition file, included multiple times, hence no include guard. 5 // Message definition file, included multiple times, hence no include guard.
6 6
7 #include <stdint.h> 7 #include <stdint.h>
8 8
9 #include <string> 9 #include <string>
10 10
(...skipping 33 matching lines...) Expand 10 before | Expand all | Expand 10 after
44 // The data members directly correspond to parameters of 44 // The data members directly correspond to parameters of
45 // WorkerMessagingProxy::reportConsoleMessage() 45 // WorkerMessagingProxy::reportConsoleMessage()
46 IPC_STRUCT_BEGIN(EmbeddedWorkerHostMsg_ReportConsoleMessage_Params) 46 IPC_STRUCT_BEGIN(EmbeddedWorkerHostMsg_ReportConsoleMessage_Params)
47 IPC_STRUCT_MEMBER(int, source_identifier) 47 IPC_STRUCT_MEMBER(int, source_identifier)
48 IPC_STRUCT_MEMBER(int, message_level) 48 IPC_STRUCT_MEMBER(int, message_level)
49 IPC_STRUCT_MEMBER(base::string16, message) 49 IPC_STRUCT_MEMBER(base::string16, message)
50 IPC_STRUCT_MEMBER(int, line_number) 50 IPC_STRUCT_MEMBER(int, line_number)
51 IPC_STRUCT_MEMBER(GURL, source_url) 51 IPC_STRUCT_MEMBER(GURL, source_url)
52 IPC_STRUCT_END() 52 IPC_STRUCT_END()
53 53
54 // Browser -> Renderer message to create a new embedded worker context.
55 IPC_MESSAGE_CONTROL1(EmbeddedWorkerMsg_StartWorker,
56 content::EmbeddedWorkerStartParams /* params */)
57
58 // Browser -> Renderer message to resume a worker that has been started 54 // Browser -> Renderer message to resume a worker that has been started
59 // with the pause_after_download option. 55 // with the pause_after_download option.
60 IPC_MESSAGE_CONTROL1(EmbeddedWorkerMsg_ResumeAfterDownload, 56 IPC_MESSAGE_CONTROL1(EmbeddedWorkerMsg_ResumeAfterDownload,
61 int /* embedded_worker_id */) 57 int /* embedded_worker_id */)
62 58
63 // Browser -> Renderer message to stop (terminate) the embedded worker. 59 // Browser -> Renderer message to stop (terminate) the embedded worker.
64 IPC_MESSAGE_CONTROL1(EmbeddedWorkerMsg_StopWorker, 60 IPC_MESSAGE_CONTROL1(EmbeddedWorkerMsg_StopWorker,
65 int /* embedded_worker_id */) 61 int /* embedded_worker_id */)
66 62
67 // Browser -> Renderer message to add message to the devtools console. 63 // Browser -> Renderer message to add message to the devtools console.
(...skipping 57 matching lines...) Expand 10 before | Expand all | Expand 10 after
125 // for this for easier cross-thread message dispatching. 121 // for this for easier cross-thread message dispatching.
126 122
127 #undef IPC_MESSAGE_START 123 #undef IPC_MESSAGE_START
128 #define IPC_MESSAGE_START EmbeddedWorkerContextMsgStart 124 #define IPC_MESSAGE_START EmbeddedWorkerContextMsgStart
129 125
130 // Browser -> Renderer message to send message. 126 // Browser -> Renderer message to send message.
131 IPC_MESSAGE_CONTROL3(EmbeddedWorkerContextMsg_MessageToWorker, 127 IPC_MESSAGE_CONTROL3(EmbeddedWorkerContextMsg_MessageToWorker,
132 int /* thread_id */, 128 int /* thread_id */,
133 int /* embedded_worker_id */, 129 int /* embedded_worker_id */,
134 IPC::Message /* message */) 130 IPC::Message /* message */)
OLDNEW
« no previous file with comments | « content/common/BUILD.gn ('k') | content/common/service_worker/embedded_worker_setup.mojom » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698