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

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

Issue 425653002: content: ResourceType cleanup. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: REBASE Created 6 years, 4 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/common/content_param_traits_macros.h ('k') | content/common/view_messages.h » ('j') | 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 142 matching lines...) Expand 10 before | Expand all | Expand 10 after
153 153
154 // Process ID from which this request originated, or zero if it originated 154 // Process ID from which this request originated, or zero if it originated
155 // in the renderer itself. 155 // in the renderer itself.
156 // If kDirectNPAPIRequests isn't specified, then plugin requests get routed 156 // If kDirectNPAPIRequests isn't specified, then plugin requests get routed
157 // through the renderer and and this holds the pid of the plugin process. 157 // through the renderer and and this holds the pid of the plugin process.
158 // Otherwise this holds the render_process_id of the view that has the plugin. 158 // Otherwise this holds the render_process_id of the view that has the plugin.
159 IPC_STRUCT_MEMBER(int, origin_pid) 159 IPC_STRUCT_MEMBER(int, origin_pid)
160 160
161 // What this resource load is for (main frame, sub-frame, sub-resource, 161 // What this resource load is for (main frame, sub-frame, sub-resource,
162 // object). 162 // object).
163 IPC_STRUCT_MEMBER(content::ResourceType::Type, resource_type) 163 IPC_STRUCT_MEMBER(content::ResourceType, resource_type)
164 164
165 // The priority of this request. 165 // The priority of this request.
166 IPC_STRUCT_MEMBER(net::RequestPriority, priority) 166 IPC_STRUCT_MEMBER(net::RequestPriority, priority)
167 167
168 // Used by plugin->browser requests to get the correct net::URLRequestContext. 168 // Used by plugin->browser requests to get the correct net::URLRequestContext.
169 IPC_STRUCT_MEMBER(uint32, request_context) 169 IPC_STRUCT_MEMBER(uint32, request_context)
170 170
171 // Indicates which frame (or worker context) the request is being loaded into, 171 // Indicates which frame (or worker context) the request is being loaded into,
172 // or kAppCacheNoHostId. 172 // or kAppCacheNoHostId.
173 IPC_STRUCT_MEMBER(int, appcache_host_id) 173 IPC_STRUCT_MEMBER(int, appcache_host_id)
(...skipping 167 matching lines...) Expand 10 before | Expand all | Expand 10 after
341 341
342 // Sent when the renderer process deletes a resource loader. 342 // Sent when the renderer process deletes a resource loader.
343 IPC_MESSAGE_CONTROL1(ResourceHostMsg_ReleaseDownloadedFile, 343 IPC_MESSAGE_CONTROL1(ResourceHostMsg_ReleaseDownloadedFile,
344 int /* request_id */) 344 int /* request_id */)
345 345
346 // Sent by the renderer when a resource request changes priority. 346 // Sent by the renderer when a resource request changes priority.
347 IPC_MESSAGE_CONTROL3(ResourceHostMsg_DidChangePriority, 347 IPC_MESSAGE_CONTROL3(ResourceHostMsg_DidChangePriority,
348 int /* request_id */, 348 int /* request_id */,
349 net::RequestPriority, 349 net::RequestPriority,
350 int /* intra_priority_value */) 350 int /* intra_priority_value */)
OLDNEW
« no previous file with comments | « content/common/content_param_traits_macros.h ('k') | content/common/view_messages.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698