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

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

Issue 370833002: Move resource_type.* from webkit/ to content/. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: chromeos fix Created 6 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 | Annotate | Revision Log
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 140 matching lines...) Expand 10 before | Expand all | Expand 10 after
151 151
152 // Process ID from which this request originated, or zero if it originated 152 // Process ID from which this request originated, or zero if it originated
153 // in the renderer itself. 153 // in the renderer itself.
154 // If kDirectNPAPIRequests isn't specified, then plugin requests get routed 154 // If kDirectNPAPIRequests isn't specified, then plugin requests get routed
155 // through the renderer and and this holds the pid of the plugin process. 155 // through the renderer and and this holds the pid of the plugin process.
156 // Otherwise this holds the render_process_id of the view that has the plugin. 156 // Otherwise this holds the render_process_id of the view that has the plugin.
157 IPC_STRUCT_MEMBER(int, origin_pid) 157 IPC_STRUCT_MEMBER(int, origin_pid)
158 158
159 // What this resource load is for (main frame, sub-frame, sub-resource, 159 // What this resource load is for (main frame, sub-frame, sub-resource,
160 // object). 160 // object).
161 IPC_STRUCT_MEMBER(ResourceType::Type, resource_type) 161 IPC_STRUCT_MEMBER(content::ResourceType::Type, resource_type)
162 162
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 kAppCacheNoHostId. 170 // or kAppCacheNoHostId.
171 IPC_STRUCT_MEMBER(int, appcache_host_id) 171 IPC_STRUCT_MEMBER(int, appcache_host_id)
(...skipping 167 matching lines...) Expand 10 before | Expand all | Expand 10 after
339 339
340 // Sent when the renderer process deletes a resource loader. 340 // Sent when the renderer process deletes a resource loader.
341 IPC_MESSAGE_CONTROL1(ResourceHostMsg_ReleaseDownloadedFile, 341 IPC_MESSAGE_CONTROL1(ResourceHostMsg_ReleaseDownloadedFile,
342 int /* request_id */) 342 int /* request_id */)
343 343
344 // Sent by the renderer when a resource request changes priority. 344 // Sent by the renderer when a resource request changes priority.
345 IPC_MESSAGE_CONTROL3(ResourceHostMsg_DidChangePriority, 345 IPC_MESSAGE_CONTROL3(ResourceHostMsg_DidChangePriority,
346 int /* request_id */, 346 int /* request_id */,
347 net::RequestPriority, 347 net::RequestPriority,
348 int /* intra_priority_value */) 348 int /* intra_priority_value */)
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698