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

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

Issue 293083002: Add a blob field to ServiceWorkerFetchResponse and read the blob (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fix merge conflict Created 6 years, 6 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 | Annotate | Revision Log
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 "base/strings/string16.h" 7 #include "base/strings/string16.h"
8 #include "content/common/service_worker/service_worker_status_code.h" 8 #include "content/common/service_worker/service_worker_status_code.h"
9 #include "content/common/service_worker/service_worker_types.h" 9 #include "content/common/service_worker/service_worker_types.h"
10 #include "ipc/ipc_message_macros.h" 10 #include "ipc/ipc_message_macros.h"
(...skipping 22 matching lines...) Expand all
33 IPC_STRUCT_TRAITS_MEMBER(headers) 33 IPC_STRUCT_TRAITS_MEMBER(headers)
34 IPC_STRUCT_TRAITS_END() 34 IPC_STRUCT_TRAITS_END()
35 35
36 IPC_ENUM_TRAITS_MAX_VALUE(content::ServiceWorkerFetchEventResult, 36 IPC_ENUM_TRAITS_MAX_VALUE(content::ServiceWorkerFetchEventResult,
37 content::SERVICE_WORKER_FETCH_EVENT_LAST) 37 content::SERVICE_WORKER_FETCH_EVENT_LAST)
38 38
39 IPC_STRUCT_TRAITS_BEGIN(content::ServiceWorkerResponse) 39 IPC_STRUCT_TRAITS_BEGIN(content::ServiceWorkerResponse)
40 IPC_STRUCT_TRAITS_MEMBER(status_code) 40 IPC_STRUCT_TRAITS_MEMBER(status_code)
41 IPC_STRUCT_TRAITS_MEMBER(status_text) 41 IPC_STRUCT_TRAITS_MEMBER(status_text)
42 IPC_STRUCT_TRAITS_MEMBER(headers) 42 IPC_STRUCT_TRAITS_MEMBER(headers)
43 IPC_STRUCT_TRAITS_MEMBER(blob_uuid)
43 IPC_STRUCT_TRAITS_END() 44 IPC_STRUCT_TRAITS_END()
44 45
45 IPC_STRUCT_TRAITS_BEGIN(content::ServiceWorkerObjectInfo) 46 IPC_STRUCT_TRAITS_BEGIN(content::ServiceWorkerObjectInfo)
46 IPC_STRUCT_TRAITS_MEMBER(handle_id) 47 IPC_STRUCT_TRAITS_MEMBER(handle_id)
47 IPC_STRUCT_TRAITS_MEMBER(scope) 48 IPC_STRUCT_TRAITS_MEMBER(scope)
48 IPC_STRUCT_TRAITS_MEMBER(url) 49 IPC_STRUCT_TRAITS_MEMBER(url)
49 IPC_STRUCT_TRAITS_MEMBER(state) 50 IPC_STRUCT_TRAITS_MEMBER(state)
50 IPC_STRUCT_TRAITS_END() 51 IPC_STRUCT_TRAITS_END()
51 52
52 //--------------------------------------------------------------------------- 53 //---------------------------------------------------------------------------
(...skipping 129 matching lines...) Expand 10 before | Expand all | Expand 10 after
182 int /* request_id */) 183 int /* request_id */)
183 IPC_MESSAGE_CONTROL3(ServiceWorkerMsg_MessageToWorker, 184 IPC_MESSAGE_CONTROL3(ServiceWorkerMsg_MessageToWorker,
184 base::string16 /* message */, 185 base::string16 /* message */,
185 std::vector<int> /* sent_message_port_ids */, 186 std::vector<int> /* sent_message_port_ids */,
186 std::vector<int> /* new_routing_ids */) 187 std::vector<int> /* new_routing_ids */)
187 188
188 // Sent via EmbeddedWorker as a response of GetClientDocuments. 189 // Sent via EmbeddedWorker as a response of GetClientDocuments.
189 IPC_MESSAGE_CONTROL2(ServiceWorkerMsg_DidGetClientDocuments, 190 IPC_MESSAGE_CONTROL2(ServiceWorkerMsg_DidGetClientDocuments,
190 int /* request_id */, 191 int /* request_id */,
191 std::vector<int> /* client_ids */) 192 std::vector<int> /* client_ids */)
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698