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

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

Issue 2941883003: [ServiceWorker] Fetch event should return integrity value (Closed)
Patch Set: Address yhirano's comment #78 Created 3 years, 5 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 58 matching lines...) Expand 10 before | Expand all | Expand 10 after
69 IPC_STRUCT_TRAITS_MEMBER(request_context_type) 69 IPC_STRUCT_TRAITS_MEMBER(request_context_type)
70 IPC_STRUCT_TRAITS_MEMBER(frame_type) 70 IPC_STRUCT_TRAITS_MEMBER(frame_type)
71 IPC_STRUCT_TRAITS_MEMBER(url) 71 IPC_STRUCT_TRAITS_MEMBER(url)
72 IPC_STRUCT_TRAITS_MEMBER(method) 72 IPC_STRUCT_TRAITS_MEMBER(method)
73 IPC_STRUCT_TRAITS_MEMBER(headers) 73 IPC_STRUCT_TRAITS_MEMBER(headers)
74 IPC_STRUCT_TRAITS_MEMBER(blob_uuid) 74 IPC_STRUCT_TRAITS_MEMBER(blob_uuid)
75 IPC_STRUCT_TRAITS_MEMBER(blob_size) 75 IPC_STRUCT_TRAITS_MEMBER(blob_size)
76 IPC_STRUCT_TRAITS_MEMBER(referrer) 76 IPC_STRUCT_TRAITS_MEMBER(referrer)
77 IPC_STRUCT_TRAITS_MEMBER(credentials_mode) 77 IPC_STRUCT_TRAITS_MEMBER(credentials_mode)
78 IPC_STRUCT_TRAITS_MEMBER(redirect_mode) 78 IPC_STRUCT_TRAITS_MEMBER(redirect_mode)
79 IPC_STRUCT_TRAITS_MEMBER(integrity)
79 IPC_STRUCT_TRAITS_MEMBER(client_id) 80 IPC_STRUCT_TRAITS_MEMBER(client_id)
80 IPC_STRUCT_TRAITS_MEMBER(is_reload) 81 IPC_STRUCT_TRAITS_MEMBER(is_reload)
81 IPC_STRUCT_TRAITS_MEMBER(fetch_type) 82 IPC_STRUCT_TRAITS_MEMBER(fetch_type)
82 IPC_STRUCT_TRAITS_END() 83 IPC_STRUCT_TRAITS_END()
83 84
84 IPC_ENUM_TRAITS_MAX_VALUE(content::ServiceWorkerFetchEventResult, 85 IPC_ENUM_TRAITS_MAX_VALUE(content::ServiceWorkerFetchEventResult,
85 content::SERVICE_WORKER_FETCH_EVENT_LAST) 86 content::SERVICE_WORKER_FETCH_EVENT_LAST)
86 87
87 IPC_STRUCT_TRAITS_BEGIN(content::ServiceWorkerResponse) 88 IPC_STRUCT_TRAITS_BEGIN(content::ServiceWorkerResponse)
88 IPC_STRUCT_TRAITS_MEMBER(url_list) 89 IPC_STRUCT_TRAITS_MEMBER(url_list)
(...skipping 424 matching lines...) Expand 10 before | Expand all | Expand 10 after
513 514
514 // Sent via EmbeddedWorker as a response of NavigateClient. 515 // Sent via EmbeddedWorker as a response of NavigateClient.
515 IPC_MESSAGE_CONTROL2(ServiceWorkerMsg_NavigateClientResponse, 516 IPC_MESSAGE_CONTROL2(ServiceWorkerMsg_NavigateClientResponse,
516 int /* request_id */, 517 int /* request_id */,
517 content::ServiceWorkerClientInfo /* client */) 518 content::ServiceWorkerClientInfo /* client */)
518 519
519 // Sent via EmbeddedWorker as an error response of NavigateClient. 520 // Sent via EmbeddedWorker as an error response of NavigateClient.
520 IPC_MESSAGE_CONTROL2(ServiceWorkerMsg_NavigateClientError, 521 IPC_MESSAGE_CONTROL2(ServiceWorkerMsg_NavigateClientError,
521 int /* request_id */, 522 int /* request_id */,
522 GURL /* url */) 523 GURL /* url */)
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698