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

Side by Side Diff: content/common/resource_messages.h

Issue 184343014: Add service_worker_provider_id param to ResourceHostMsg_Request. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 9 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
« no previous file with comments | « content/child/resource_dispatcher.cc ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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 // IPC messages for resource loading. 5 // IPC messages for resource loading.
6 // 6 //
7 // NOTE: All messages must send an |int request_id| as their first parameter. 7 // NOTE: All messages must send an |int request_id| as their first parameter.
8 8
9 // Multiply-included message file, hence no include guard. 9 // Multiply-included message file, hence no include guard.
10 #include "base/memory/shared_memory.h" 10 #include "base/memory/shared_memory.h"
(...skipping 152 matching lines...) Expand 10 before | Expand all | Expand 10 after
163 // The priority of this request. 163 // The priority of this request.
164 IPC_STRUCT_MEMBER(net::RequestPriority, priority) 164 IPC_STRUCT_MEMBER(net::RequestPriority, priority)
165 165
166 // Used by plugin->browser requests to get the correct net::URLRequestContext. 166 // Used by plugin->browser requests to get the correct net::URLRequestContext.
167 IPC_STRUCT_MEMBER(uint32, request_context) 167 IPC_STRUCT_MEMBER(uint32, request_context)
168 168
169 // Indicates which frame (or worker context) the request is being loaded into, 169 // Indicates which frame (or worker context) the request is being loaded into,
170 // or kNoHostId. 170 // or kNoHostId.
171 IPC_STRUCT_MEMBER(int, appcache_host_id) 171 IPC_STRUCT_MEMBER(int, appcache_host_id)
172 172
173 // Indicates which frame (or worker context) the request is being loaded into,
174 // or kInvalidServiceWorkerProviderId.
175 IPC_STRUCT_MEMBER(int, service_worker_provider_id)
176
173 // Optional resource request body (may be null). 177 // Optional resource request body (may be null).
174 IPC_STRUCT_MEMBER(scoped_refptr<webkit_glue::ResourceRequestBody>, 178 IPC_STRUCT_MEMBER(scoped_refptr<webkit_glue::ResourceRequestBody>,
175 request_body) 179 request_body)
176 180
177 IPC_STRUCT_MEMBER(bool, download_to_file) 181 IPC_STRUCT_MEMBER(bool, download_to_file)
178 182
179 // True if the request was user initiated. 183 // True if the request was user initiated.
180 IPC_STRUCT_MEMBER(bool, has_user_gesture) 184 IPC_STRUCT_MEMBER(bool, has_user_gesture)
181 185
182 // The routing id of the RenderFrame. 186 // The routing id of the RenderFrame.
(...skipping 151 matching lines...) Expand 10 before | Expand all | Expand 10 after
334 int /* request_id */) 338 int /* request_id */)
335 339
336 // Sent when the renderer process deletes a resource loader. 340 // Sent when the renderer process deletes a resource loader.
337 IPC_MESSAGE_CONTROL1(ResourceHostMsg_ReleaseDownloadedFile, 341 IPC_MESSAGE_CONTROL1(ResourceHostMsg_ReleaseDownloadedFile,
338 int /* request_id */) 342 int /* request_id */)
339 343
340 // Sent by the renderer when a resource request changes priority. 344 // Sent by the renderer when a resource request changes priority.
341 IPC_MESSAGE_CONTROL2(ResourceHostMsg_DidChangePriority, 345 IPC_MESSAGE_CONTROL2(ResourceHostMsg_DidChangePriority,
342 int /* request_id */, 346 int /* request_id */,
343 net::RequestPriority) 347 net::RequestPriority)
OLDNEW
« no previous file with comments | « content/child/resource_dispatcher.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698