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

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

Issue 896533004: [WONT COMMIT] ServiceWorker: Move unregister function from WebSWProvider to WebSWRegistration (2/3) (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 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 <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 301 matching lines...) Expand 10 before | Expand all | Expand 10 after
312 IPC_MESSAGE_CONTROL4(ServiceWorkerMsg_AssociateRegistration, 312 IPC_MESSAGE_CONTROL4(ServiceWorkerMsg_AssociateRegistration,
313 int /* thread_id */, 313 int /* thread_id */,
314 int /* provider_id */, 314 int /* provider_id */,
315 content::ServiceWorkerRegistrationObjectInfo, 315 content::ServiceWorkerRegistrationObjectInfo,
316 content::ServiceWorkerVersionAttributes) 316 content::ServiceWorkerVersionAttributes)
317 IPC_MESSAGE_CONTROL2(ServiceWorkerMsg_DisassociateRegistration, 317 IPC_MESSAGE_CONTROL2(ServiceWorkerMsg_DisassociateRegistration,
318 int /* thread_id */, 318 int /* thread_id */,
319 int /* provider_id */) 319 int /* provider_id */)
320 320
321 // Response to ServiceWorkerHostMsg_RegisterServiceWorker. 321 // Response to ServiceWorkerHostMsg_RegisterServiceWorker.
322 IPC_MESSAGE_CONTROL4(ServiceWorkerMsg_ServiceWorkerRegistered, 322 IPC_MESSAGE_CONTROL5(ServiceWorkerMsg_ServiceWorkerRegistered,
323 int /* thread_id */, 323 int /* thread_id */,
324 int /* request_id */, 324 int /* request_id */,
325 int /* provider_id */,
325 content::ServiceWorkerRegistrationObjectInfo, 326 content::ServiceWorkerRegistrationObjectInfo,
326 content::ServiceWorkerVersionAttributes) 327 content::ServiceWorkerVersionAttributes)
327 328
328 // Response to ServiceWorkerHostMsg_UnregisterServiceWorker. 329 // Response to ServiceWorkerHostMsg_UnregisterServiceWorker.
329 IPC_MESSAGE_CONTROL3(ServiceWorkerMsg_ServiceWorkerUnregistered, 330 IPC_MESSAGE_CONTROL3(ServiceWorkerMsg_ServiceWorkerUnregistered,
330 int /* thread_id */, 331 int /* thread_id */,
331 int /* request_id */, 332 int /* request_id */,
332 bool /* is_success */) 333 bool /* is_success */)
333 334
334 // Response to ServiceWorkerHostMsg_GetRegistration. 335 // Response to ServiceWorkerHostMsg_GetRegistration.
335 IPC_MESSAGE_CONTROL4(ServiceWorkerMsg_DidGetRegistration, 336 IPC_MESSAGE_CONTROL5(ServiceWorkerMsg_DidGetRegistration,
336 int /* thread_id */, 337 int /* thread_id */,
337 int /* request_id */, 338 int /* request_id */,
339 int /* provider_id */,
338 content::ServiceWorkerRegistrationObjectInfo, 340 content::ServiceWorkerRegistrationObjectInfo,
339 content::ServiceWorkerVersionAttributes) 341 content::ServiceWorkerVersionAttributes)
340 342
341 // Sent when any kind of registration error occurs during a 343 // Sent when any kind of registration error occurs during a
342 // RegisterServiceWorker handler above. 344 // RegisterServiceWorker handler above.
343 IPC_MESSAGE_CONTROL4(ServiceWorkerMsg_ServiceWorkerRegistrationError, 345 IPC_MESSAGE_CONTROL4(ServiceWorkerMsg_ServiceWorkerRegistrationError,
344 int /* thread_id */, 346 int /* thread_id */,
345 int /* request_id */, 347 int /* request_id */,
346 blink::WebServiceWorkerError::ErrorType /* code */, 348 blink::WebServiceWorkerError::ErrorType /* code */,
347 base::string16 /* message */) 349 base::string16 /* message */)
(...skipping 157 matching lines...) Expand 10 before | Expand all | Expand 10 after
505 blink::WebServiceWorkerCacheError) 507 blink::WebServiceWorkerCacheError)
506 IPC_MESSAGE_CONTROL2(ServiceWorkerMsg_CacheMatchAllError, 508 IPC_MESSAGE_CONTROL2(ServiceWorkerMsg_CacheMatchAllError,
507 int /* request_id */, 509 int /* request_id */,
508 blink::WebServiceWorkerCacheError) 510 blink::WebServiceWorkerCacheError)
509 IPC_MESSAGE_CONTROL2(ServiceWorkerMsg_CacheKeysError, 511 IPC_MESSAGE_CONTROL2(ServiceWorkerMsg_CacheKeysError,
510 int /* request_id */, 512 int /* request_id */,
511 blink::WebServiceWorkerCacheError) 513 blink::WebServiceWorkerCacheError)
512 IPC_MESSAGE_CONTROL2(ServiceWorkerMsg_CacheBatchError, 514 IPC_MESSAGE_CONTROL2(ServiceWorkerMsg_CacheBatchError,
513 int /* request_id */, 515 int /* request_id */,
514 blink::WebServiceWorkerCacheError) 516 blink::WebServiceWorkerCacheError)
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698