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

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

Issue 1162243003: BackgroundSync sync events need to be ExtendableEvents, content side (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Avoid race condition in sync event dispatch Created 5 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
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 <string> 7 #include <string>
8 #include <vector> 8 #include <vector>
9 9
10 #include "base/strings/string16.h" 10 #include "base/strings/string16.h"
(...skipping 181 matching lines...) Expand 10 before | Expand all | Expand 10 after
192 IPC_MESSAGE_ROUTED2(ServiceWorkerHostMsg_InstallEventFinished, 192 IPC_MESSAGE_ROUTED2(ServiceWorkerHostMsg_InstallEventFinished,
193 int /* request_id */, 193 int /* request_id */,
194 blink::WebServiceWorkerEventResult) 194 blink::WebServiceWorkerEventResult)
195 IPC_MESSAGE_ROUTED2(ServiceWorkerHostMsg_ActivateEventFinished, 195 IPC_MESSAGE_ROUTED2(ServiceWorkerHostMsg_ActivateEventFinished,
196 int /* request_id */, 196 int /* request_id */,
197 blink::WebServiceWorkerEventResult) 197 blink::WebServiceWorkerEventResult)
198 IPC_MESSAGE_ROUTED3(ServiceWorkerHostMsg_FetchEventFinished, 198 IPC_MESSAGE_ROUTED3(ServiceWorkerHostMsg_FetchEventFinished,
199 int /* request_id */, 199 int /* request_id */,
200 content::ServiceWorkerFetchEventResult, 200 content::ServiceWorkerFetchEventResult,
201 content::ServiceWorkerResponse) 201 content::ServiceWorkerResponse)
202 IPC_MESSAGE_ROUTED1(ServiceWorkerHostMsg_SyncEventFinished, 202 IPC_MESSAGE_ROUTED2(ServiceWorkerHostMsg_SyncEventFinished,
203 int /* request_id */) 203 int /* request_id */,
204 blink::WebServiceWorkerEventResult)
204 IPC_MESSAGE_ROUTED1(ServiceWorkerHostMsg_NotificationClickEventFinished, 205 IPC_MESSAGE_ROUTED1(ServiceWorkerHostMsg_NotificationClickEventFinished,
205 int /* request_id */) 206 int /* request_id */)
206 IPC_MESSAGE_ROUTED2(ServiceWorkerHostMsg_PushEventFinished, 207 IPC_MESSAGE_ROUTED2(ServiceWorkerHostMsg_PushEventFinished,
207 int /* request_id */, 208 int /* request_id */,
208 blink::WebServiceWorkerEventResult) 209 blink::WebServiceWorkerEventResult)
209 IPC_MESSAGE_ROUTED1(ServiceWorkerHostMsg_GeofencingEventFinished, 210 IPC_MESSAGE_ROUTED1(ServiceWorkerHostMsg_GeofencingEventFinished,
210 int /* request_id */) 211 int /* request_id */)
211 IPC_MESSAGE_ROUTED2(ServiceWorkerHostMsg_CrossOriginConnectEventFinished, 212 IPC_MESSAGE_ROUTED2(ServiceWorkerHostMsg_CrossOriginConnectEventFinished,
212 int /* request_id */, 213 int /* request_id */,
213 bool /* accept_connection */) 214 bool /* accept_connection */)
(...skipping 230 matching lines...) Expand 10 before | Expand all | Expand 10 after
444 IPC_MESSAGE_CONTROL2(ServiceWorkerMsg_FocusClientResponse, 445 IPC_MESSAGE_CONTROL2(ServiceWorkerMsg_FocusClientResponse,
445 int /* request_id */, 446 int /* request_id */,
446 content::ServiceWorkerClientInfo /* client */) 447 content::ServiceWorkerClientInfo /* client */)
447 448
448 // Sent via EmbeddedWorker to transfer a stashed message port to the worker. 449 // Sent via EmbeddedWorker to transfer a stashed message port to the worker.
449 IPC_MESSAGE_CONTROL3( 450 IPC_MESSAGE_CONTROL3(
450 ServiceWorkerMsg_SendStashedMessagePorts, 451 ServiceWorkerMsg_SendStashedMessagePorts,
451 std::vector<content::TransferredMessagePort> /* stashed_message_ports */, 452 std::vector<content::TransferredMessagePort> /* stashed_message_ports */,
452 std::vector<int> /* new_routing_ids */, 453 std::vector<int> /* new_routing_ids */,
453 std::vector<base::string16> /* port_names */) 454 std::vector<base::string16> /* port_names */)
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698