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

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

Issue 2814273006: Remove an unnecessary CachedMetadata copy in URLLoaderClientImpl (Closed)
Patch Set: fix Created 3 years, 8 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
« no previous file with comments | « content/child/url_loader_client_impl.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 10
(...skipping 261 matching lines...) Expand 10 before | Expand all | Expand 10 after
272 // Resource messages sent from the browser to the renderer. 272 // Resource messages sent from the browser to the renderer.
273 273
274 // Sent when the headers are available for a resource request. 274 // Sent when the headers are available for a resource request.
275 IPC_MESSAGE_CONTROL2(ResourceMsg_ReceivedResponse, 275 IPC_MESSAGE_CONTROL2(ResourceMsg_ReceivedResponse,
276 int /* request_id */, 276 int /* request_id */,
277 content::ResourceResponseHead) 277 content::ResourceResponseHead)
278 278
279 // Sent when cached metadata from a resource request is ready. 279 // Sent when cached metadata from a resource request is ready.
280 IPC_MESSAGE_CONTROL2(ResourceMsg_ReceivedCachedMetadata, 280 IPC_MESSAGE_CONTROL2(ResourceMsg_ReceivedCachedMetadata,
281 int /* request_id */, 281 int /* request_id */,
282 std::vector<char> /* data */) 282 std::vector<uint8_t> /* data */)
283 283
284 // Sent as upload progress is being made. 284 // Sent as upload progress is being made.
285 IPC_MESSAGE_CONTROL3(ResourceMsg_UploadProgress, 285 IPC_MESSAGE_CONTROL3(ResourceMsg_UploadProgress,
286 int /* request_id */, 286 int /* request_id */,
287 int64_t /* position */, 287 int64_t /* position */,
288 int64_t /* size */) 288 int64_t /* size */)
289 289
290 // Sent when the request has been redirected. The receiver is expected to 290 // Sent when the request has been redirected. The receiver is expected to
291 // respond with either a FollowRedirect message (if the redirect is to be 291 // respond with either a FollowRedirect message (if the redirect is to be
292 // followed) or a CancelRequest message (if it should not be followed). 292 // followed) or a CancelRequest message (if it should not be followed).
(...skipping 76 matching lines...) Expand 10 before | Expand all | Expand 10 after
369 369
370 // Sent when the renderer process deletes a resource loader. 370 // Sent when the renderer process deletes a resource loader.
371 IPC_MESSAGE_CONTROL1(ResourceHostMsg_ReleaseDownloadedFile, 371 IPC_MESSAGE_CONTROL1(ResourceHostMsg_ReleaseDownloadedFile,
372 int /* request_id */) 372 int /* request_id */)
373 373
374 // Sent by the renderer when a resource request changes priority. 374 // Sent by the renderer when a resource request changes priority.
375 IPC_MESSAGE_CONTROL3(ResourceHostMsg_DidChangePriority, 375 IPC_MESSAGE_CONTROL3(ResourceHostMsg_DidChangePriority,
376 int /* request_id */, 376 int /* request_id */,
377 net::RequestPriority, 377 net::RequestPriority,
378 int /* intra_priority_value */) 378 int /* intra_priority_value */)
OLDNEW
« no previous file with comments | « content/child/url_loader_client_impl.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698