OLD | NEW |
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 105 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
116 // Increments and decrements the ServiceWorkerRegistration object's reference | 116 // Increments and decrements the ServiceWorkerRegistration object's reference |
117 // counting in the browser side. The registration object is created with | 117 // counting in the browser side. The registration object is created with |
118 // ref-count==1 initially. | 118 // ref-count==1 initially. |
119 IPC_MESSAGE_CONTROL1(ServiceWorkerHostMsg_IncrementRegistrationRefCount, | 119 IPC_MESSAGE_CONTROL1(ServiceWorkerHostMsg_IncrementRegistrationRefCount, |
120 int /* registration_handle_id */) | 120 int /* registration_handle_id */) |
121 IPC_MESSAGE_CONTROL1(ServiceWorkerHostMsg_DecrementRegistrationRefCount, | 121 IPC_MESSAGE_CONTROL1(ServiceWorkerHostMsg_DecrementRegistrationRefCount, |
122 int /* registration_handle_id */) | 122 int /* registration_handle_id */) |
123 | 123 |
124 // Informs the browser that |provider_id| is associated | 124 // Informs the browser that |provider_id| is associated |
125 // with a service worker script running context and | 125 // with a service worker script running context and |
126 // |version_id| identifies which ServcieWorkerVersion. | 126 // |version_id| identifies which ServiceWorkerVersion. |
127 IPC_MESSAGE_CONTROL2(ServiceWorkerHostMsg_SetVersionId, | 127 IPC_MESSAGE_CONTROL2(ServiceWorkerHostMsg_SetVersionId, |
128 int /* provider_id */, | 128 int /* provider_id */, |
129 int64 /* version_id */) | 129 int64 /* version_id */) |
130 | 130 |
131 // Informs the browser that event handling has finished. | 131 // Informs the browser that event handling has finished. |
132 // Routed to the target ServiceWorkerVersion. | 132 // Routed to the target ServiceWorkerVersion. |
133 IPC_MESSAGE_ROUTED2(ServiceWorkerHostMsg_InstallEventFinished, | 133 IPC_MESSAGE_ROUTED2(ServiceWorkerHostMsg_InstallEventFinished, |
134 int /* request_id */, | 134 int /* request_id */, |
135 blink::WebServiceWorkerEventResult) | 135 blink::WebServiceWorkerEventResult) |
136 IPC_MESSAGE_ROUTED2(ServiceWorkerHostMsg_ActivateEventFinished, | 136 IPC_MESSAGE_ROUTED2(ServiceWorkerHostMsg_ActivateEventFinished, |
(...skipping 143 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
280 blink::WebServiceWorkerCacheError /* reason */) | 280 blink::WebServiceWorkerCacheError /* reason */) |
281 IPC_MESSAGE_CONTROL2(ServiceWorkerMsg_CacheStorageCreateError, | 281 IPC_MESSAGE_CONTROL2(ServiceWorkerMsg_CacheStorageCreateError, |
282 int /* request_id */, | 282 int /* request_id */, |
283 blink::WebServiceWorkerCacheError /* reason */) | 283 blink::WebServiceWorkerCacheError /* reason */) |
284 IPC_MESSAGE_CONTROL2(ServiceWorkerMsg_CacheStorageDeleteError, | 284 IPC_MESSAGE_CONTROL2(ServiceWorkerMsg_CacheStorageDeleteError, |
285 int /* request_id */, | 285 int /* request_id */, |
286 blink::WebServiceWorkerCacheError /* reason */) | 286 blink::WebServiceWorkerCacheError /* reason */) |
287 IPC_MESSAGE_CONTROL2(ServiceWorkerMsg_CacheStorageKeysError, | 287 IPC_MESSAGE_CONTROL2(ServiceWorkerMsg_CacheStorageKeysError, |
288 int /* request_id */, | 288 int /* request_id */, |
289 blink::WebServiceWorkerCacheError /* reason */) | 289 blink::WebServiceWorkerCacheError /* reason */) |
OLD | NEW |