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

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

Issue 516823003: ServiceWorker: Change the return value of ServiceWorkerRegistration::unregister to boolean (2/4) (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase Created 6 years, 3 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/child/service_worker/web_service_worker_provider_impl.cc ('k') | no next file » | 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 179 matching lines...) Expand 10 before | Expand all | Expand 10 after
190 int /* request_id */, 190 int /* request_id */,
191 content::ServiceWorkerRegistrationObjectInfo, 191 content::ServiceWorkerRegistrationObjectInfo,
192 content::ServiceWorkerVersionAttributes) 192 content::ServiceWorkerVersionAttributes)
193 193
194 // Response to ServiceWorkerMsg_UnregisterServiceWorker. 194 // Response to ServiceWorkerMsg_UnregisterServiceWorker.
195 IPC_MESSAGE_CONTROL2(ServiceWorkerMsg_ServiceWorkerUnregistered, 195 IPC_MESSAGE_CONTROL2(ServiceWorkerMsg_ServiceWorkerUnregistered,
196 int /* thread_id */, 196 int /* thread_id */,
197 int /* request_id */) 197 int /* request_id */)
198 198
199 // Sent when any kind of registration error occurs during a 199 // Sent when any kind of registration error occurs during a
200 // RegisterServiceWorker / UnregisterServiceWorker handler above. 200 // RegisterServiceWorker handler above.
201 IPC_MESSAGE_CONTROL4(ServiceWorkerMsg_ServiceWorkerRegistrationError, 201 IPC_MESSAGE_CONTROL4(ServiceWorkerMsg_ServiceWorkerRegistrationError,
202 int /* thread_id */, 202 int /* thread_id */,
203 int /* request_id */, 203 int /* request_id */,
204 blink::WebServiceWorkerError::ErrorType /* code */, 204 blink::WebServiceWorkerError::ErrorType /* code */,
205 base::string16 /* message */) 205 base::string16 /* message */)
206 206
207 // Sent when any kind of registration error occurs during a
208 // UnregisterServiceWorker handler above.
209 IPC_MESSAGE_CONTROL4(ServiceWorkerMsg_ServiceWorkerUnregistrationError,
210 int /* thread_id */,
211 int /* request_id */,
212 blink::WebServiceWorkerError::ErrorType /* code */,
213 base::string16 /* message */)
214
207 // Informs the child process that the ServiceWorker's state has changed. 215 // Informs the child process that the ServiceWorker's state has changed.
208 IPC_MESSAGE_CONTROL3(ServiceWorkerMsg_ServiceWorkerStateChanged, 216 IPC_MESSAGE_CONTROL3(ServiceWorkerMsg_ServiceWorkerStateChanged,
209 int /* thread_id */, 217 int /* thread_id */,
210 int /* handle_id */, 218 int /* handle_id */,
211 blink::WebServiceWorkerState) 219 blink::WebServiceWorkerState)
212 220
213 // Tells the child process to set service workers for the given provider. 221 // Tells the child process to set service workers for the given provider.
214 IPC_MESSAGE_CONTROL5(ServiceWorkerMsg_SetVersionAttributes, 222 IPC_MESSAGE_CONTROL5(ServiceWorkerMsg_SetVersionAttributes,
215 int /* thread_id */, 223 int /* thread_id */,
216 int /* provider_id */, 224 int /* provider_id */,
(...skipping 70 matching lines...) Expand 10 before | Expand all | Expand 10 after
287 blink::WebServiceWorkerCacheError /* reason */) 295 blink::WebServiceWorkerCacheError /* reason */)
288 IPC_MESSAGE_CONTROL2(ServiceWorkerMsg_CacheStorageCreateError, 296 IPC_MESSAGE_CONTROL2(ServiceWorkerMsg_CacheStorageCreateError,
289 int /* request_id */, 297 int /* request_id */,
290 blink::WebServiceWorkerCacheError /* reason */) 298 blink::WebServiceWorkerCacheError /* reason */)
291 IPC_MESSAGE_CONTROL2(ServiceWorkerMsg_CacheStorageDeleteError, 299 IPC_MESSAGE_CONTROL2(ServiceWorkerMsg_CacheStorageDeleteError,
292 int /* request_id */, 300 int /* request_id */,
293 blink::WebServiceWorkerCacheError /* reason */) 301 blink::WebServiceWorkerCacheError /* reason */)
294 IPC_MESSAGE_CONTROL2(ServiceWorkerMsg_CacheStorageKeysError, 302 IPC_MESSAGE_CONTROL2(ServiceWorkerMsg_CacheStorageKeysError,
295 int /* request_id */, 303 int /* request_id */,
296 blink::WebServiceWorkerCacheError /* reason */) 304 blink::WebServiceWorkerCacheError /* reason */)
OLDNEW
« no previous file with comments | « content/child/service_worker/web_service_worker_provider_impl.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698