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

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

Issue 2762953004: Remove inline small resource transfer experiment (Closed)
Patch Set: Created 3 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
« no previous file with comments | « content/child/resource_dispatcher_unittest.cc ('k') | content/public/common/content_features.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 10
(...skipping 294 matching lines...) Expand 10 before | Expand all | Expand 10 after
305 // 305 //
306 // TODO(darin): The |renderer_pid| parameter is just a temporary parameter, 306 // TODO(darin): The |renderer_pid| parameter is just a temporary parameter,
307 // added to help in debugging crbug/160401. 307 // added to help in debugging crbug/160401.
308 // 308 //
309 IPC_MESSAGE_CONTROL4(ResourceMsg_SetDataBuffer, 309 IPC_MESSAGE_CONTROL4(ResourceMsg_SetDataBuffer,
310 int /* request_id */, 310 int /* request_id */,
311 base::SharedMemoryHandle /* shm_handle */, 311 base::SharedMemoryHandle /* shm_handle */,
312 int /* shm_size */, 312 int /* shm_size */,
313 base::ProcessId /* renderer_pid */) 313 base::ProcessId /* renderer_pid */)
314 314
315 // Sent when a chunk of data from a resource request is ready, and the resource
316 // is expected to be small enough to fit in the inlined buffer.
317 // The data is sent as a part of IPC message.
318 IPC_MESSAGE_CONTROL3(ResourceMsg_InlinedDataChunkReceived,
319 int /* request_id */,
320 std::vector<char> /* data */,
321 int /* encoded_data_length */)
322
323 // Sent when some data from a resource request is ready. The data offset and 315 // Sent when some data from a resource request is ready. The data offset and
324 // length specify a byte range into the shared memory buffer provided by the 316 // length specify a byte range into the shared memory buffer provided by the
325 // SetDataBuffer message. 317 // SetDataBuffer message.
326 IPC_MESSAGE_CONTROL4(ResourceMsg_DataReceived, 318 IPC_MESSAGE_CONTROL4(ResourceMsg_DataReceived,
327 int /* request_id */, 319 int /* request_id */,
328 int /* data_offset */, 320 int /* data_offset */,
329 int /* data_length */, 321 int /* data_length */,
330 int /* encoded_data_length */) 322 int /* encoded_data_length */)
331 323
332 // Sent when some data from a resource request has been downloaded to 324 // Sent when some data from a resource request has been downloaded to
(...skipping 44 matching lines...) Expand 10 before | Expand all | Expand 10 after
377 369
378 // Sent when the renderer process deletes a resource loader. 370 // Sent when the renderer process deletes a resource loader.
379 IPC_MESSAGE_CONTROL1(ResourceHostMsg_ReleaseDownloadedFile, 371 IPC_MESSAGE_CONTROL1(ResourceHostMsg_ReleaseDownloadedFile,
380 int /* request_id */) 372 int /* request_id */)
381 373
382 // Sent by the renderer when a resource request changes priority. 374 // Sent by the renderer when a resource request changes priority.
383 IPC_MESSAGE_CONTROL3(ResourceHostMsg_DidChangePriority, 375 IPC_MESSAGE_CONTROL3(ResourceHostMsg_DidChangePriority,
384 int /* request_id */, 376 int /* request_id */,
385 net::RequestPriority, 377 net::RequestPriority,
386 int /* intra_priority_value */) 378 int /* intra_priority_value */)
OLDNEW
« no previous file with comments | « content/child/resource_dispatcher_unittest.cc ('k') | content/public/common/content_features.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698