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

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

Issue 617263002: Support WebServiceWorkerResponseType in ServiceWorkerCache. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Don't run test on windows, see https://crbug.com/416940 Created 6 years, 2 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/common/DEPS ('k') | content/common/service_worker/service_worker_types.h » ('j') | 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 13 matching lines...) Expand all
24 24
25 IPC_ENUM_TRAITS_MAX_VALUE(blink::WebServiceWorkerError::ErrorType, 25 IPC_ENUM_TRAITS_MAX_VALUE(blink::WebServiceWorkerError::ErrorType,
26 blink::WebServiceWorkerError::ErrorTypeLast) 26 blink::WebServiceWorkerError::ErrorTypeLast)
27 27
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_ENUM_TRAITS_MAX_VALUE(blink::WebServiceWorkerResponseType,
35 blink::WebServiceWorkerResponseTypeLast)
36
34 IPC_STRUCT_TRAITS_BEGIN(content::ServiceWorkerFetchRequest) 37 IPC_STRUCT_TRAITS_BEGIN(content::ServiceWorkerFetchRequest)
35 IPC_STRUCT_TRAITS_MEMBER(mode) 38 IPC_STRUCT_TRAITS_MEMBER(mode)
36 IPC_STRUCT_TRAITS_MEMBER(url) 39 IPC_STRUCT_TRAITS_MEMBER(url)
37 IPC_STRUCT_TRAITS_MEMBER(method) 40 IPC_STRUCT_TRAITS_MEMBER(method)
38 IPC_STRUCT_TRAITS_MEMBER(headers) 41 IPC_STRUCT_TRAITS_MEMBER(headers)
39 IPC_STRUCT_TRAITS_MEMBER(blob_uuid) 42 IPC_STRUCT_TRAITS_MEMBER(blob_uuid)
40 IPC_STRUCT_TRAITS_MEMBER(blob_size) 43 IPC_STRUCT_TRAITS_MEMBER(blob_size)
41 IPC_STRUCT_TRAITS_MEMBER(referrer) 44 IPC_STRUCT_TRAITS_MEMBER(referrer)
42 IPC_STRUCT_TRAITS_MEMBER(is_reload) 45 IPC_STRUCT_TRAITS_MEMBER(is_reload)
43 IPC_STRUCT_TRAITS_END() 46 IPC_STRUCT_TRAITS_END()
44 47
45 IPC_ENUM_TRAITS_MAX_VALUE(content::ServiceWorkerFetchEventResult, 48 IPC_ENUM_TRAITS_MAX_VALUE(content::ServiceWorkerFetchEventResult,
46 content::SERVICE_WORKER_FETCH_EVENT_LAST) 49 content::SERVICE_WORKER_FETCH_EVENT_LAST)
47 50
48 IPC_STRUCT_TRAITS_BEGIN(content::ServiceWorkerResponse) 51 IPC_STRUCT_TRAITS_BEGIN(content::ServiceWorkerResponse)
49 IPC_STRUCT_TRAITS_MEMBER(url) 52 IPC_STRUCT_TRAITS_MEMBER(url)
50 IPC_STRUCT_TRAITS_MEMBER(status_code) 53 IPC_STRUCT_TRAITS_MEMBER(status_code)
51 IPC_STRUCT_TRAITS_MEMBER(status_text) 54 IPC_STRUCT_TRAITS_MEMBER(status_text)
55 IPC_STRUCT_TRAITS_MEMBER(response_type)
52 IPC_STRUCT_TRAITS_MEMBER(headers) 56 IPC_STRUCT_TRAITS_MEMBER(headers)
53 IPC_STRUCT_TRAITS_MEMBER(blob_uuid) 57 IPC_STRUCT_TRAITS_MEMBER(blob_uuid)
54 IPC_STRUCT_TRAITS_END() 58 IPC_STRUCT_TRAITS_END()
55 59
56 IPC_STRUCT_TRAITS_BEGIN(content::ServiceWorkerCacheQueryParams) 60 IPC_STRUCT_TRAITS_BEGIN(content::ServiceWorkerCacheQueryParams)
57 IPC_STRUCT_TRAITS_MEMBER(ignore_search) 61 IPC_STRUCT_TRAITS_MEMBER(ignore_search)
58 IPC_STRUCT_TRAITS_MEMBER(ignore_method) 62 IPC_STRUCT_TRAITS_MEMBER(ignore_method)
59 IPC_STRUCT_TRAITS_MEMBER(ignore_vary) 63 IPC_STRUCT_TRAITS_MEMBER(ignore_vary)
60 IPC_STRUCT_TRAITS_MEMBER(prefix_match) 64 IPC_STRUCT_TRAITS_MEMBER(prefix_match)
61 IPC_STRUCT_TRAITS_END() 65 IPC_STRUCT_TRAITS_END()
(...skipping 339 matching lines...) Expand 10 before | Expand all | Expand 10 after
401 blink::WebServiceWorkerCacheError) 405 blink::WebServiceWorkerCacheError)
402 IPC_MESSAGE_CONTROL2(ServiceWorkerMsg_CacheMatchAllError, 406 IPC_MESSAGE_CONTROL2(ServiceWorkerMsg_CacheMatchAllError,
403 int /* request_id */, 407 int /* request_id */,
404 blink::WebServiceWorkerCacheError) 408 blink::WebServiceWorkerCacheError)
405 IPC_MESSAGE_CONTROL2(ServiceWorkerMsg_CacheKeysError, 409 IPC_MESSAGE_CONTROL2(ServiceWorkerMsg_CacheKeysError,
406 int /* request_id */, 410 int /* request_id */,
407 blink::WebServiceWorkerCacheError) 411 blink::WebServiceWorkerCacheError)
408 IPC_MESSAGE_CONTROL2(ServiceWorkerMsg_CacheBatchError, 412 IPC_MESSAGE_CONTROL2(ServiceWorkerMsg_CacheBatchError,
409 int /* request_id */, 413 int /* request_id */,
410 blink::WebServiceWorkerCacheError) 414 blink::WebServiceWorkerCacheError)
OLDNEW
« no previous file with comments | « content/common/DEPS ('k') | content/common/service_worker/service_worker_types.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698