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

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

Issue 475333002: [ServiceWorker] Sends the blob uuid of the request body to the ServiceWorker. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: resolve blobs Created 6 years, 4 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 17 matching lines...) Expand all
28 IPC_ENUM_TRAITS_MAX_VALUE(blink::WebServiceWorkerEventResult, 28 IPC_ENUM_TRAITS_MAX_VALUE(blink::WebServiceWorkerEventResult,
29 blink::WebServiceWorkerEventResultLast) 29 blink::WebServiceWorkerEventResultLast)
30 30
31 IPC_ENUM_TRAITS_MAX_VALUE(blink::WebServiceWorkerState, 31 IPC_ENUM_TRAITS_MAX_VALUE(blink::WebServiceWorkerState,
32 blink::WebServiceWorkerStateLast) 32 blink::WebServiceWorkerStateLast)
33 33
34 IPC_STRUCT_TRAITS_BEGIN(content::ServiceWorkerFetchRequest) 34 IPC_STRUCT_TRAITS_BEGIN(content::ServiceWorkerFetchRequest)
35 IPC_STRUCT_TRAITS_MEMBER(url) 35 IPC_STRUCT_TRAITS_MEMBER(url)
36 IPC_STRUCT_TRAITS_MEMBER(method) 36 IPC_STRUCT_TRAITS_MEMBER(method)
37 IPC_STRUCT_TRAITS_MEMBER(headers) 37 IPC_STRUCT_TRAITS_MEMBER(headers)
38 IPC_STRUCT_TRAITS_MEMBER(blob_uuid)
39 IPC_STRUCT_TRAITS_MEMBER(blob_size)
38 IPC_STRUCT_TRAITS_MEMBER(referrer) 40 IPC_STRUCT_TRAITS_MEMBER(referrer)
39 IPC_STRUCT_TRAITS_MEMBER(is_reload) 41 IPC_STRUCT_TRAITS_MEMBER(is_reload)
40 IPC_STRUCT_TRAITS_END() 42 IPC_STRUCT_TRAITS_END()
41 43
42 IPC_ENUM_TRAITS_MAX_VALUE(content::ServiceWorkerFetchEventResult, 44 IPC_ENUM_TRAITS_MAX_VALUE(content::ServiceWorkerFetchEventResult,
43 content::SERVICE_WORKER_FETCH_EVENT_LAST) 45 content::SERVICE_WORKER_FETCH_EVENT_LAST)
44 46
45 IPC_STRUCT_TRAITS_BEGIN(content::ServiceWorkerResponse) 47 IPC_STRUCT_TRAITS_BEGIN(content::ServiceWorkerResponse)
46 IPC_STRUCT_TRAITS_MEMBER(url) 48 IPC_STRUCT_TRAITS_MEMBER(url)
47 IPC_STRUCT_TRAITS_MEMBER(status_code) 49 IPC_STRUCT_TRAITS_MEMBER(status_code)
(...skipping 230 matching lines...) Expand 10 before | Expand all | Expand 10 after
278 blink::WebServiceWorkerCacheError /* reason */) 280 blink::WebServiceWorkerCacheError /* reason */)
279 IPC_MESSAGE_CONTROL2(ServiceWorkerMsg_CacheStorageCreateError, 281 IPC_MESSAGE_CONTROL2(ServiceWorkerMsg_CacheStorageCreateError,
280 int /* request_id */, 282 int /* request_id */,
281 blink::WebServiceWorkerCacheError /* reason */) 283 blink::WebServiceWorkerCacheError /* reason */)
282 IPC_MESSAGE_CONTROL2(ServiceWorkerMsg_CacheStorageDeleteError, 284 IPC_MESSAGE_CONTROL2(ServiceWorkerMsg_CacheStorageDeleteError,
283 int /* request_id */, 285 int /* request_id */,
284 blink::WebServiceWorkerCacheError /* reason */) 286 blink::WebServiceWorkerCacheError /* reason */)
285 IPC_MESSAGE_CONTROL2(ServiceWorkerMsg_CacheStorageKeysError, 287 IPC_MESSAGE_CONTROL2(ServiceWorkerMsg_CacheStorageKeysError,
286 int /* request_id */, 288 int /* request_id */,
287 blink::WebServiceWorkerCacheError /* reason */) 289 blink::WebServiceWorkerCacheError /* reason */)
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698