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

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

Issue 1575283003: Move notification click event dispatching out of ServiceWorkerVersion. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@swversion-ipc-refactor
Patch Set: rebase and use DispatchSimpleEvent Created 4 years, 10 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 <stdint.h> 7 #include <stdint.h>
8 8
9 #include <string> 9 #include <string>
10 #include <vector> 10 #include <vector>
(...skipping 217 matching lines...) Expand 10 before | Expand all | Expand 10 after
228 IPC_MESSAGE_ROUTED2(ServiceWorkerHostMsg_InstallEventFinished, 228 IPC_MESSAGE_ROUTED2(ServiceWorkerHostMsg_InstallEventFinished,
229 int /* request_id */, 229 int /* request_id */,
230 blink::WebServiceWorkerEventResult) 230 blink::WebServiceWorkerEventResult)
231 IPC_MESSAGE_ROUTED2(ServiceWorkerHostMsg_ActivateEventFinished, 231 IPC_MESSAGE_ROUTED2(ServiceWorkerHostMsg_ActivateEventFinished,
232 int /* request_id */, 232 int /* request_id */,
233 blink::WebServiceWorkerEventResult) 233 blink::WebServiceWorkerEventResult)
234 IPC_MESSAGE_ROUTED3(ServiceWorkerHostMsg_FetchEventFinished, 234 IPC_MESSAGE_ROUTED3(ServiceWorkerHostMsg_FetchEventFinished,
235 int /* request_id */, 235 int /* request_id */,
236 content::ServiceWorkerFetchEventResult, 236 content::ServiceWorkerFetchEventResult,
237 content::ServiceWorkerResponse) 237 content::ServiceWorkerResponse)
238 IPC_MESSAGE_ROUTED1(ServiceWorkerHostMsg_NotificationClickEventFinished, 238 IPC_MESSAGE_ROUTED2(ServiceWorkerHostMsg_NotificationClickEventFinished,
239 int /* request_id */) 239 int /* request_id */,
240 blink::WebServiceWorkerEventResult)
240 IPC_MESSAGE_ROUTED2(ServiceWorkerHostMsg_PushEventFinished, 241 IPC_MESSAGE_ROUTED2(ServiceWorkerHostMsg_PushEventFinished,
241 int /* request_id */, 242 int /* request_id */,
242 blink::WebServiceWorkerEventResult) 243 blink::WebServiceWorkerEventResult)
243 IPC_MESSAGE_ROUTED2(ServiceWorkerHostMsg_GeofencingEventFinished, 244 IPC_MESSAGE_ROUTED2(ServiceWorkerHostMsg_GeofencingEventFinished,
244 int /* request_id */, 245 int /* request_id */,
245 blink::WebServiceWorkerEventResult) 246 blink::WebServiceWorkerEventResult)
246 247
247 // Responds to a Ping from the browser. 248 // Responds to a Ping from the browser.
248 // Routed to the target ServiceWorkerVersion. 249 // Routed to the target ServiceWorkerVersion.
249 IPC_MESSAGE_ROUTED0(ServiceWorkerHostMsg_Pong) 250 IPC_MESSAGE_ROUTED0(ServiceWorkerHostMsg_Pong)
(...skipping 245 matching lines...) Expand 10 before | Expand all | Expand 10 after
495 496
496 // Sent via EmbeddedWorker as a response of NavigateClient. 497 // Sent via EmbeddedWorker as a response of NavigateClient.
497 IPC_MESSAGE_CONTROL2(ServiceWorkerMsg_NavigateClientResponse, 498 IPC_MESSAGE_CONTROL2(ServiceWorkerMsg_NavigateClientResponse,
498 int /* request_id */, 499 int /* request_id */,
499 content::ServiceWorkerClientInfo /* client */) 500 content::ServiceWorkerClientInfo /* client */)
500 501
501 // Sent via EmbeddedWorker as an error response of NavigateClient. 502 // Sent via EmbeddedWorker as an error response of NavigateClient.
502 IPC_MESSAGE_CONTROL2(ServiceWorkerMsg_NavigateClientError, 503 IPC_MESSAGE_CONTROL2(ServiceWorkerMsg_NavigateClientError,
503 int /* request_id */, 504 int /* request_id */,
504 GURL /* url */) 505 GURL /* url */)
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698