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

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

Issue 317953004: Set the "waiting" Service Worker of Service Worker providers (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Bring patch to head. Created 6 years, 6 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 139 matching lines...) Expand 10 before | Expand all | Expand 10 after
150 int /* request_id */, 150 int /* request_id */,
151 blink::WebServiceWorkerError::ErrorType /* code */, 151 blink::WebServiceWorkerError::ErrorType /* code */,
152 base::string16 /* message */) 152 base::string16 /* message */)
153 153
154 // Informs the child process that the ServiceWorker's state has changed. 154 // Informs the child process that the ServiceWorker's state has changed.
155 IPC_MESSAGE_CONTROL3(ServiceWorkerMsg_ServiceWorkerStateChanged, 155 IPC_MESSAGE_CONTROL3(ServiceWorkerMsg_ServiceWorkerStateChanged,
156 int /* thread_id */, 156 int /* thread_id */,
157 int /* handle_id */, 157 int /* handle_id */,
158 blink::WebServiceWorkerState) 158 blink::WebServiceWorkerState)
159 159
160 // Tells the child process to set the waiting ServiceWorker for the given
161 // provider.
162 IPC_MESSAGE_CONTROL3(ServiceWorkerMsg_SetWaitingServiceWorker,
163 int /* thread_id */,
164 int /* provider_id */,
165 content::ServiceWorkerObjectInfo)
166
160 // Tells the child process to set the current ServiceWorker for the given 167 // Tells the child process to set the current ServiceWorker for the given
161 // provider. 168 // provider.
162 IPC_MESSAGE_CONTROL3(ServiceWorkerMsg_SetCurrentServiceWorker, 169 IPC_MESSAGE_CONTROL3(ServiceWorkerMsg_SetCurrentServiceWorker,
163 int /* thread_id */, 170 int /* thread_id */,
164 int /* provider_id */, 171 int /* provider_id */,
165 content::ServiceWorkerObjectInfo) 172 content::ServiceWorkerObjectInfo)
166 173
167 // Sends a 'message' event to a client document (browser->renderer). 174 // Sends a 'message' event to a client document (browser->renderer).
168 IPC_MESSAGE_CONTROL5(ServiceWorkerMsg_MessageToDocument, 175 IPC_MESSAGE_CONTROL5(ServiceWorkerMsg_MessageToDocument,
169 int /* thread_id */, 176 int /* thread_id */,
(...skipping 18 matching lines...) Expand all
188 std::string /* data */) 195 std::string /* data */)
189 IPC_MESSAGE_CONTROL3(ServiceWorkerMsg_MessageToWorker, 196 IPC_MESSAGE_CONTROL3(ServiceWorkerMsg_MessageToWorker,
190 base::string16 /* message */, 197 base::string16 /* message */,
191 std::vector<int> /* sent_message_port_ids */, 198 std::vector<int> /* sent_message_port_ids */,
192 std::vector<int> /* new_routing_ids */) 199 std::vector<int> /* new_routing_ids */)
193 200
194 // Sent via EmbeddedWorker as a response of GetClientDocuments. 201 // Sent via EmbeddedWorker as a response of GetClientDocuments.
195 IPC_MESSAGE_CONTROL2(ServiceWorkerMsg_DidGetClientDocuments, 202 IPC_MESSAGE_CONTROL2(ServiceWorkerMsg_DidGetClientDocuments,
196 int /* request_id */, 203 int /* request_id */,
197 std::vector<int> /* client_ids */) 204 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