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

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

Issue 2002883002: ServiceWorker: Store the existence of fetch event handler (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase Created 4 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 <stdint.h> 7 #include <stdint.h>
8 8
9 #include <string> 9 #include <string>
10 #include <vector> 10 #include <vector>
(...skipping 224 matching lines...) Expand 10 before | Expand all | Expand 10 after
235 235
236 // Informs the browser that |provider_id| is associated 236 // Informs the browser that |provider_id| is associated
237 // with a service worker script running context and 237 // with a service worker script running context and
238 // |version_id| identifies which ServiceWorkerVersion. 238 // |version_id| identifies which ServiceWorkerVersion.
239 IPC_MESSAGE_CONTROL2(ServiceWorkerHostMsg_SetVersionId, 239 IPC_MESSAGE_CONTROL2(ServiceWorkerHostMsg_SetVersionId,
240 int /* provider_id */, 240 int /* provider_id */,
241 int64_t /* version_id */) 241 int64_t /* version_id */)
242 242
243 // Informs the browser that event handling has finished. 243 // Informs the browser that event handling has finished.
244 // Routed to the target ServiceWorkerVersion. 244 // Routed to the target ServiceWorkerVersion.
245 IPC_MESSAGE_ROUTED2(ServiceWorkerHostMsg_InstallEventFinished, 245 IPC_MESSAGE_ROUTED3(ServiceWorkerHostMsg_InstallEventFinished,
246 int /* request_id */, 246 int /* request_id */,
247 blink::WebServiceWorkerEventResult) 247 blink::WebServiceWorkerEventResult,
248 bool /* has_fetch_event_handler */)
249
248 IPC_MESSAGE_ROUTED2(ServiceWorkerHostMsg_ActivateEventFinished, 250 IPC_MESSAGE_ROUTED2(ServiceWorkerHostMsg_ActivateEventFinished,
249 int /* request_id */, 251 int /* request_id */,
250 blink::WebServiceWorkerEventResult) 252 blink::WebServiceWorkerEventResult)
251 IPC_MESSAGE_ROUTED2(ServiceWorkerHostMsg_ExtendableMessageEventFinished, 253 IPC_MESSAGE_ROUTED2(ServiceWorkerHostMsg_ExtendableMessageEventFinished,
252 int /* request_id */, 254 int /* request_id */,
253 blink::WebServiceWorkerEventResult) 255 blink::WebServiceWorkerEventResult)
254 IPC_MESSAGE_ROUTED3(ServiceWorkerHostMsg_FetchEventFinished, 256 IPC_MESSAGE_ROUTED3(ServiceWorkerHostMsg_FetchEventFinished,
255 int /* request_id */, 257 int /* request_id */,
256 content::ServiceWorkerFetchEventResult, 258 content::ServiceWorkerFetchEventResult,
257 content::ServiceWorkerResponse) 259 content::ServiceWorkerResponse)
(...skipping 261 matching lines...) Expand 10 before | Expand all | Expand 10 after
519 521
520 // Sent via EmbeddedWorker as a response of NavigateClient. 522 // Sent via EmbeddedWorker as a response of NavigateClient.
521 IPC_MESSAGE_CONTROL2(ServiceWorkerMsg_NavigateClientResponse, 523 IPC_MESSAGE_CONTROL2(ServiceWorkerMsg_NavigateClientResponse,
522 int /* request_id */, 524 int /* request_id */,
523 content::ServiceWorkerClientInfo /* client */) 525 content::ServiceWorkerClientInfo /* client */)
524 526
525 // Sent via EmbeddedWorker as an error response of NavigateClient. 527 // Sent via EmbeddedWorker as an error response of NavigateClient.
526 IPC_MESSAGE_CONTROL2(ServiceWorkerMsg_NavigateClientError, 528 IPC_MESSAGE_CONTROL2(ServiceWorkerMsg_NavigateClientError,
527 int /* request_id */, 529 int /* request_id */,
528 GURL /* url */) 530 GURL /* url */)
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698