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

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

Issue 2892953006: WIP POC blob transport over mojo
Patch Set: pass mojo blobs over ipc Created 3 years, 7 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 74 matching lines...) Expand 10 before | Expand all | Expand 10 after
85 content::SERVICE_WORKER_FETCH_EVENT_LAST) 85 content::SERVICE_WORKER_FETCH_EVENT_LAST)
86 86
87 IPC_STRUCT_TRAITS_BEGIN(content::ServiceWorkerResponse) 87 IPC_STRUCT_TRAITS_BEGIN(content::ServiceWorkerResponse)
88 IPC_STRUCT_TRAITS_MEMBER(url_list) 88 IPC_STRUCT_TRAITS_MEMBER(url_list)
89 IPC_STRUCT_TRAITS_MEMBER(status_code) 89 IPC_STRUCT_TRAITS_MEMBER(status_code)
90 IPC_STRUCT_TRAITS_MEMBER(status_text) 90 IPC_STRUCT_TRAITS_MEMBER(status_text)
91 IPC_STRUCT_TRAITS_MEMBER(response_type) 91 IPC_STRUCT_TRAITS_MEMBER(response_type)
92 IPC_STRUCT_TRAITS_MEMBER(headers) 92 IPC_STRUCT_TRAITS_MEMBER(headers)
93 IPC_STRUCT_TRAITS_MEMBER(blob_uuid) 93 IPC_STRUCT_TRAITS_MEMBER(blob_uuid)
94 IPC_STRUCT_TRAITS_MEMBER(blob_size) 94 IPC_STRUCT_TRAITS_MEMBER(blob_size)
95 IPC_STRUCT_TRAITS_MEMBER(blob)
95 IPC_STRUCT_TRAITS_MEMBER(error) 96 IPC_STRUCT_TRAITS_MEMBER(error)
96 IPC_STRUCT_TRAITS_MEMBER(response_time) 97 IPC_STRUCT_TRAITS_MEMBER(response_time)
97 IPC_STRUCT_TRAITS_MEMBER(is_in_cache_storage) 98 IPC_STRUCT_TRAITS_MEMBER(is_in_cache_storage)
98 IPC_STRUCT_TRAITS_MEMBER(cache_storage_cache_name) 99 IPC_STRUCT_TRAITS_MEMBER(cache_storage_cache_name)
99 IPC_STRUCT_TRAITS_MEMBER(cors_exposed_header_names) 100 IPC_STRUCT_TRAITS_MEMBER(cors_exposed_header_names)
100 IPC_STRUCT_TRAITS_END() 101 IPC_STRUCT_TRAITS_END()
101 102
102 IPC_STRUCT_TRAITS_BEGIN(content::ServiceWorkerObjectInfo) 103 IPC_STRUCT_TRAITS_BEGIN(content::ServiceWorkerObjectInfo)
103 IPC_STRUCT_TRAITS_MEMBER(handle_id) 104 IPC_STRUCT_TRAITS_MEMBER(handle_id)
104 IPC_STRUCT_TRAITS_MEMBER(url) 105 IPC_STRUCT_TRAITS_MEMBER(url)
(...skipping 399 matching lines...) Expand 10 before | Expand all | Expand 10 after
504 505
505 // Sent via EmbeddedWorker as a response of NavigateClient. 506 // Sent via EmbeddedWorker as a response of NavigateClient.
506 IPC_MESSAGE_CONTROL2(ServiceWorkerMsg_NavigateClientResponse, 507 IPC_MESSAGE_CONTROL2(ServiceWorkerMsg_NavigateClientResponse,
507 int /* request_id */, 508 int /* request_id */,
508 content::ServiceWorkerClientInfo /* client */) 509 content::ServiceWorkerClientInfo /* client */)
509 510
510 // Sent via EmbeddedWorker as an error response of NavigateClient. 511 // Sent via EmbeddedWorker as an error response of NavigateClient.
511 IPC_MESSAGE_CONTROL2(ServiceWorkerMsg_NavigateClientError, 512 IPC_MESSAGE_CONTROL2(ServiceWorkerMsg_NavigateClientError,
512 int /* request_id */, 513 int /* request_id */,
513 GURL /* url */) 514 GURL /* url */)
OLDNEW
« no previous file with comments | « content/common/content_param_traits.cc ('k') | content/common/service_worker/service_worker_types.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698