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

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

Issue 554573002: SWRegistration::unregister returns false when the registration is already unregistered. (2/3) (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Add const 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/service_worker_dispatcher.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 174 matching lines...) Expand 10 before | Expand all | Expand 10 after
185 // on the correct thread. 185 // on the correct thread.
186 186
187 // Response to ServiceWorkerMsg_RegisterServiceWorker. 187 // Response to ServiceWorkerMsg_RegisterServiceWorker.
188 IPC_MESSAGE_CONTROL4(ServiceWorkerMsg_ServiceWorkerRegistered, 188 IPC_MESSAGE_CONTROL4(ServiceWorkerMsg_ServiceWorkerRegistered,
189 int /* thread_id */, 189 int /* thread_id */,
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_CONTROL3(ServiceWorkerMsg_ServiceWorkerUnregistered,
196 int /* thread_id */, 196 int /* thread_id */,
197 int /* request_id */) 197 int /* request_id */,
198 bool /* is_success */)
198 199
199 // Sent when any kind of registration error occurs during a 200 // Sent when any kind of registration error occurs during a
200 // RegisterServiceWorker handler above. 201 // RegisterServiceWorker handler above.
201 IPC_MESSAGE_CONTROL4(ServiceWorkerMsg_ServiceWorkerRegistrationError, 202 IPC_MESSAGE_CONTROL4(ServiceWorkerMsg_ServiceWorkerRegistrationError,
202 int /* thread_id */, 203 int /* thread_id */,
203 int /* request_id */, 204 int /* request_id */,
204 blink::WebServiceWorkerError::ErrorType /* code */, 205 blink::WebServiceWorkerError::ErrorType /* code */,
205 base::string16 /* message */) 206 base::string16 /* message */)
206 207
207 // Sent when any kind of registration error occurs during a 208 // Sent when any kind of registration error occurs during a
(...skipping 87 matching lines...) Expand 10 before | Expand all | Expand 10 after
295 blink::WebServiceWorkerCacheError /* reason */) 296 blink::WebServiceWorkerCacheError /* reason */)
296 IPC_MESSAGE_CONTROL2(ServiceWorkerMsg_CacheStorageCreateError, 297 IPC_MESSAGE_CONTROL2(ServiceWorkerMsg_CacheStorageCreateError,
297 int /* request_id */, 298 int /* request_id */,
298 blink::WebServiceWorkerCacheError /* reason */) 299 blink::WebServiceWorkerCacheError /* reason */)
299 IPC_MESSAGE_CONTROL2(ServiceWorkerMsg_CacheStorageDeleteError, 300 IPC_MESSAGE_CONTROL2(ServiceWorkerMsg_CacheStorageDeleteError,
300 int /* request_id */, 301 int /* request_id */,
301 blink::WebServiceWorkerCacheError /* reason */) 302 blink::WebServiceWorkerCacheError /* reason */)
302 IPC_MESSAGE_CONTROL2(ServiceWorkerMsg_CacheStorageKeysError, 303 IPC_MESSAGE_CONTROL2(ServiceWorkerMsg_CacheStorageKeysError,
303 int /* request_id */, 304 int /* request_id */,
304 blink::WebServiceWorkerCacheError /* reason */) 305 blink::WebServiceWorkerCacheError /* reason */)
OLDNEW
« no previous file with comments | « content/child/service_worker/service_worker_dispatcher.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698