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

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

Issue 1171173002: [Background Sync] Use Mojo IPC to fire background sync events (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Remove Chromium IPC for Sync from unit tests' Created 5 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
« no previous file with comments | « content/common/background_sync_service.mojom ('k') | content/content_browser.gypi » ('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 <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 206 matching lines...) Expand 10 before | Expand all | Expand 10 after
217 IPC_MESSAGE_ROUTED2(ServiceWorkerHostMsg_InstallEventFinished, 217 IPC_MESSAGE_ROUTED2(ServiceWorkerHostMsg_InstallEventFinished,
218 int /* request_id */, 218 int /* request_id */,
219 blink::WebServiceWorkerEventResult) 219 blink::WebServiceWorkerEventResult)
220 IPC_MESSAGE_ROUTED2(ServiceWorkerHostMsg_ActivateEventFinished, 220 IPC_MESSAGE_ROUTED2(ServiceWorkerHostMsg_ActivateEventFinished,
221 int /* request_id */, 221 int /* request_id */,
222 blink::WebServiceWorkerEventResult) 222 blink::WebServiceWorkerEventResult)
223 IPC_MESSAGE_ROUTED3(ServiceWorkerHostMsg_FetchEventFinished, 223 IPC_MESSAGE_ROUTED3(ServiceWorkerHostMsg_FetchEventFinished,
224 int /* request_id */, 224 int /* request_id */,
225 content::ServiceWorkerFetchEventResult, 225 content::ServiceWorkerFetchEventResult,
226 content::ServiceWorkerResponse) 226 content::ServiceWorkerResponse)
227 IPC_MESSAGE_ROUTED2(ServiceWorkerHostMsg_SyncEventFinished,
228 int /* request_id */,
229 blink::WebServiceWorkerEventResult)
230 IPC_MESSAGE_ROUTED1(ServiceWorkerHostMsg_NotificationClickEventFinished, 227 IPC_MESSAGE_ROUTED1(ServiceWorkerHostMsg_NotificationClickEventFinished,
231 int /* request_id */) 228 int /* request_id */)
232 IPC_MESSAGE_ROUTED2(ServiceWorkerHostMsg_PushEventFinished, 229 IPC_MESSAGE_ROUTED2(ServiceWorkerHostMsg_PushEventFinished,
233 int /* request_id */, 230 int /* request_id */,
234 blink::WebServiceWorkerEventResult) 231 blink::WebServiceWorkerEventResult)
235 IPC_MESSAGE_ROUTED1(ServiceWorkerHostMsg_GeofencingEventFinished, 232 IPC_MESSAGE_ROUTED1(ServiceWorkerHostMsg_GeofencingEventFinished,
236 int /* request_id */) 233 int /* request_id */)
237 IPC_MESSAGE_ROUTED2(ServiceWorkerHostMsg_CrossOriginConnectEventFinished, 234 IPC_MESSAGE_ROUTED2(ServiceWorkerHostMsg_CrossOriginConnectEventFinished,
238 int /* request_id */, 235 int /* request_id */,
239 bool /* accept_connection */) 236 bool /* accept_connection */)
(...skipping 174 matching lines...) Expand 10 before | Expand all | Expand 10 after
414 ServiceWorkerMsg_MessageToDocument_Params) 411 ServiceWorkerMsg_MessageToDocument_Params)
415 412
416 // Sent via EmbeddedWorker to dispatch events. 413 // Sent via EmbeddedWorker to dispatch events.
417 IPC_MESSAGE_CONTROL1(ServiceWorkerMsg_InstallEvent, 414 IPC_MESSAGE_CONTROL1(ServiceWorkerMsg_InstallEvent,
418 int /* request_id */) 415 int /* request_id */)
419 IPC_MESSAGE_CONTROL1(ServiceWorkerMsg_ActivateEvent, 416 IPC_MESSAGE_CONTROL1(ServiceWorkerMsg_ActivateEvent,
420 int /* request_id */) 417 int /* request_id */)
421 IPC_MESSAGE_CONTROL2(ServiceWorkerMsg_FetchEvent, 418 IPC_MESSAGE_CONTROL2(ServiceWorkerMsg_FetchEvent,
422 int /* request_id */, 419 int /* request_id */,
423 content::ServiceWorkerFetchRequest) 420 content::ServiceWorkerFetchRequest)
424 IPC_MESSAGE_CONTROL1(ServiceWorkerMsg_SyncEvent,
425 int /* request_id */)
426 IPC_MESSAGE_CONTROL3(ServiceWorkerMsg_NotificationClickEvent, 421 IPC_MESSAGE_CONTROL3(ServiceWorkerMsg_NotificationClickEvent,
427 int /* request_id */, 422 int /* request_id */,
428 int64_t /* persistent_notification_id */, 423 int64_t /* persistent_notification_id */,
429 content::PlatformNotificationData /* notification_data */) 424 content::PlatformNotificationData /* notification_data */)
430 IPC_MESSAGE_CONTROL2(ServiceWorkerMsg_PushEvent, 425 IPC_MESSAGE_CONTROL2(ServiceWorkerMsg_PushEvent,
431 int /* request_id */, 426 int /* request_id */,
432 std::string /* data */) 427 std::string /* data */)
433 IPC_MESSAGE_CONTROL4(ServiceWorkerMsg_GeofencingEvent, 428 IPC_MESSAGE_CONTROL4(ServiceWorkerMsg_GeofencingEvent,
434 int /* request_id */, 429 int /* request_id */,
435 blink::WebGeofencingEventType /* event_type */, 430 blink::WebGeofencingEventType /* event_type */,
(...skipping 44 matching lines...) Expand 10 before | Expand all | Expand 10 after
480 IPC_MESSAGE_CONTROL2(ServiceWorkerMsg_FocusClientResponse, 475 IPC_MESSAGE_CONTROL2(ServiceWorkerMsg_FocusClientResponse,
481 int /* request_id */, 476 int /* request_id */,
482 content::ServiceWorkerClientInfo /* client */) 477 content::ServiceWorkerClientInfo /* client */)
483 478
484 // Sent via EmbeddedWorker to transfer a stashed message port to the worker. 479 // Sent via EmbeddedWorker to transfer a stashed message port to the worker.
485 IPC_MESSAGE_CONTROL3( 480 IPC_MESSAGE_CONTROL3(
486 ServiceWorkerMsg_SendStashedMessagePorts, 481 ServiceWorkerMsg_SendStashedMessagePorts,
487 std::vector<content::TransferredMessagePort> /* stashed_message_ports */, 482 std::vector<content::TransferredMessagePort> /* stashed_message_ports */,
488 std::vector<int> /* new_routing_ids */, 483 std::vector<int> /* new_routing_ids */,
489 std::vector<base::string16> /* port_names */) 484 std::vector<base::string16> /* port_names */)
OLDNEW
« no previous file with comments | « content/common/background_sync_service.mojom ('k') | content/content_browser.gypi » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698