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

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

Issue 1435633002: Service Worker: Add FetchEvent.clientId (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Change the order of a class member Created 4 years, 11 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 <stdint.h> 7 #include <stdint.h>
8 8
9 #include <string> 9 #include <string>
10 #include <vector> 10 #include <vector>
(...skipping 34 matching lines...) Expand 10 before | Expand all | Expand 10 after
45 blink::WebServiceWorkerResponseErrorLast) 45 blink::WebServiceWorkerResponseErrorLast)
46 46
47 IPC_ENUM_TRAITS_MAX_VALUE(blink::WebServiceWorkerClientType, 47 IPC_ENUM_TRAITS_MAX_VALUE(blink::WebServiceWorkerClientType,
48 blink::WebServiceWorkerClientTypeLast) 48 blink::WebServiceWorkerClientTypeLast)
49 49
50 IPC_ENUM_TRAITS_MAX_VALUE(content::ServiceWorkerProviderType, 50 IPC_ENUM_TRAITS_MAX_VALUE(content::ServiceWorkerProviderType,
51 content::SERVICE_WORKER_PROVIDER_TYPE_LAST) 51 content::SERVICE_WORKER_PROVIDER_TYPE_LAST)
52 52
53 IPC_STRUCT_TRAITS_BEGIN(content::ServiceWorkerFetchRequest) 53 IPC_STRUCT_TRAITS_BEGIN(content::ServiceWorkerFetchRequest)
54 IPC_STRUCT_TRAITS_MEMBER(mode) 54 IPC_STRUCT_TRAITS_MEMBER(mode)
55 IPC_STRUCT_TRAITS_MEMBER(is_main_resource_load)
55 IPC_STRUCT_TRAITS_MEMBER(request_context_type) 56 IPC_STRUCT_TRAITS_MEMBER(request_context_type)
56 IPC_STRUCT_TRAITS_MEMBER(frame_type) 57 IPC_STRUCT_TRAITS_MEMBER(frame_type)
57 IPC_STRUCT_TRAITS_MEMBER(url) 58 IPC_STRUCT_TRAITS_MEMBER(url)
58 IPC_STRUCT_TRAITS_MEMBER(method) 59 IPC_STRUCT_TRAITS_MEMBER(method)
59 IPC_STRUCT_TRAITS_MEMBER(headers) 60 IPC_STRUCT_TRAITS_MEMBER(headers)
60 IPC_STRUCT_TRAITS_MEMBER(blob_uuid) 61 IPC_STRUCT_TRAITS_MEMBER(blob_uuid)
61 IPC_STRUCT_TRAITS_MEMBER(blob_size) 62 IPC_STRUCT_TRAITS_MEMBER(blob_size)
62 IPC_STRUCT_TRAITS_MEMBER(referrer) 63 IPC_STRUCT_TRAITS_MEMBER(referrer)
63 IPC_STRUCT_TRAITS_MEMBER(credentials_mode) 64 IPC_STRUCT_TRAITS_MEMBER(credentials_mode)
64 IPC_STRUCT_TRAITS_MEMBER(redirect_mode) 65 IPC_STRUCT_TRAITS_MEMBER(redirect_mode)
66 IPC_STRUCT_TRAITS_MEMBER(client_id)
65 IPC_STRUCT_TRAITS_MEMBER(is_reload) 67 IPC_STRUCT_TRAITS_MEMBER(is_reload)
66 IPC_STRUCT_TRAITS_END() 68 IPC_STRUCT_TRAITS_END()
67 69
68 IPC_ENUM_TRAITS_MAX_VALUE(content::ServiceWorkerFetchEventResult, 70 IPC_ENUM_TRAITS_MAX_VALUE(content::ServiceWorkerFetchEventResult,
69 content::SERVICE_WORKER_FETCH_EVENT_LAST) 71 content::SERVICE_WORKER_FETCH_EVENT_LAST)
70 72
71 IPC_STRUCT_TRAITS_BEGIN(content::ServiceWorkerResponse) 73 IPC_STRUCT_TRAITS_BEGIN(content::ServiceWorkerResponse)
72 IPC_STRUCT_TRAITS_MEMBER(url) 74 IPC_STRUCT_TRAITS_MEMBER(url)
73 IPC_STRUCT_TRAITS_MEMBER(status_code) 75 IPC_STRUCT_TRAITS_MEMBER(status_code)
74 IPC_STRUCT_TRAITS_MEMBER(status_text) 76 IPC_STRUCT_TRAITS_MEMBER(status_text)
(...skipping 417 matching lines...) Expand 10 before | Expand all | Expand 10 after
492 494
493 // Sent via EmbeddedWorker as a response of NavigateClient. 495 // Sent via EmbeddedWorker as a response of NavigateClient.
494 IPC_MESSAGE_CONTROL2(ServiceWorkerMsg_NavigateClientResponse, 496 IPC_MESSAGE_CONTROL2(ServiceWorkerMsg_NavigateClientResponse,
495 int /* request_id */, 497 int /* request_id */,
496 content::ServiceWorkerClientInfo /* client */) 498 content::ServiceWorkerClientInfo /* client */)
497 499
498 // Sent via EmbeddedWorker as an error response of NavigateClient. 500 // Sent via EmbeddedWorker as an error response of NavigateClient.
499 IPC_MESSAGE_CONTROL2(ServiceWorkerMsg_NavigateClientError, 501 IPC_MESSAGE_CONTROL2(ServiceWorkerMsg_NavigateClientError,
500 int /* request_id */, 502 int /* request_id */,
501 GURL /* url */) 503 GURL /* url */)
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698