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

Side by Side Diff: content/common/service_worker/service_worker_messages.h

Issue 369013002: ServiceWorker: Support navigator.serviceWorker.installing (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 5 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 | Annotate | Revision Log
« no previous file with comments | « content/child/service_worker/web_service_worker_provider_impl.cc ('k') | no next file » | 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 "base/strings/string16.h" 7 #include "base/strings/string16.h"
8 #include "content/common/service_worker/service_worker_status_code.h" 8 #include "content/common/service_worker/service_worker_status_code.h"
9 #include "content/common/service_worker/service_worker_types.h" 9 #include "content/common/service_worker/service_worker_types.h"
10 #include "ipc/ipc_message_macros.h" 10 #include "ipc/ipc_message_macros.h"
(...skipping 140 matching lines...) Expand 10 before | Expand all | Expand 10 after
151 int /* request_id */, 151 int /* request_id */,
152 blink::WebServiceWorkerError::ErrorType /* code */, 152 blink::WebServiceWorkerError::ErrorType /* code */,
153 base::string16 /* message */) 153 base::string16 /* message */)
154 154
155 // Informs the child process that the ServiceWorker's state has changed. 155 // Informs the child process that the ServiceWorker's state has changed.
156 IPC_MESSAGE_CONTROL3(ServiceWorkerMsg_ServiceWorkerStateChanged, 156 IPC_MESSAGE_CONTROL3(ServiceWorkerMsg_ServiceWorkerStateChanged,
157 int /* thread_id */, 157 int /* thread_id */,
158 int /* handle_id */, 158 int /* handle_id */,
159 blink::WebServiceWorkerState) 159 blink::WebServiceWorkerState)
160 160
161 // Tells the child process to set the installing ServiceWorker for the given
162 // provider.
163 IPC_MESSAGE_CONTROL3(ServiceWorkerMsg_SetInstallingServiceWorker,
164 int /* thread_id */,
165 int /* provider_id */,
166 content::ServiceWorkerObjectInfo)
167
161 // Tells the child process to set the waiting ServiceWorker for the given 168 // Tells the child process to set the waiting ServiceWorker for the given
162 // provider. 169 // provider.
163 IPC_MESSAGE_CONTROL3(ServiceWorkerMsg_SetWaitingServiceWorker, 170 IPC_MESSAGE_CONTROL3(ServiceWorkerMsg_SetWaitingServiceWorker,
164 int /* thread_id */, 171 int /* thread_id */,
165 int /* provider_id */, 172 int /* provider_id */,
166 content::ServiceWorkerObjectInfo) 173 content::ServiceWorkerObjectInfo)
167 174
168 // Tells the child process to set the controller ServiceWorker for the given 175 // Tells the child process to set the controller ServiceWorker for the given
169 // provider. 176 // provider.
170 IPC_MESSAGE_CONTROL3(ServiceWorkerMsg_SetControllerServiceWorker, 177 IPC_MESSAGE_CONTROL3(ServiceWorkerMsg_SetControllerServiceWorker,
(...skipping 25 matching lines...) Expand all
196 std::string /* data */) 203 std::string /* data */)
197 IPC_MESSAGE_CONTROL3(ServiceWorkerMsg_MessageToWorker, 204 IPC_MESSAGE_CONTROL3(ServiceWorkerMsg_MessageToWorker,
198 base::string16 /* message */, 205 base::string16 /* message */,
199 std::vector<int> /* sent_message_port_ids */, 206 std::vector<int> /* sent_message_port_ids */,
200 std::vector<int> /* new_routing_ids */) 207 std::vector<int> /* new_routing_ids */)
201 208
202 // Sent via EmbeddedWorker as a response of GetClientDocuments. 209 // Sent via EmbeddedWorker as a response of GetClientDocuments.
203 IPC_MESSAGE_CONTROL2(ServiceWorkerMsg_DidGetClientDocuments, 210 IPC_MESSAGE_CONTROL2(ServiceWorkerMsg_DidGetClientDocuments,
204 int /* request_id */, 211 int /* request_id */,
205 std::vector<int> /* client_ids */) 212 std::vector<int> /* client_ids */)
OLDNEW
« no previous file with comments | « content/child/service_worker/web_service_worker_provider_impl.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698