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

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

Issue 1346923008: Add a dummy variable to ResourceMsg_DataReceived. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@ipc_revert2
Patch Set: Fix unit test error. Created 5 years, 3 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/threaded_data_provider.cc ('k') | content/common/resource_messages.cc » ('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 327 matching lines...) Expand 10 before | Expand all | Expand 10 after
338 // 338 //
339 IPC_MESSAGE_CONTROL4(ResourceMsg_SetDataBuffer, 339 IPC_MESSAGE_CONTROL4(ResourceMsg_SetDataBuffer,
340 int /* request_id */, 340 int /* request_id */,
341 base::SharedMemoryHandle /* shm_handle */, 341 base::SharedMemoryHandle /* shm_handle */,
342 int /* shm_size */, 342 int /* shm_size */,
343 base::ProcessId /* renderer_pid */) 343 base::ProcessId /* renderer_pid */)
344 344
345 // Sent when some data from a resource request is ready. The data offset and 345 // Sent when some data from a resource request is ready. The data offset and
346 // length specify a byte range into the shared memory buffer provided by the 346 // length specify a byte range into the shared memory buffer provided by the
347 // SetDataBuffer message. 347 // SetDataBuffer message.
348 IPC_MESSAGE_CONTROL4(ResourceMsg_DataReceived, 348 // TODO(erikchen): This dummy variable is temporary and is only intended to be
349 // present for one Canary release. http://crbug.com/527588.
350 IPC_MESSAGE_CONTROL5(ResourceMsg_DataReceived,
349 int /* request_id */, 351 int /* request_id */,
352 int /* dummy variable */,
350 int /* data_offset */, 353 int /* data_offset */,
351 int /* data_length */, 354 int /* data_length */,
352 int /* encoded_data_length */) 355 int /* encoded_data_length */)
353 356
354 // Sent when some data from a resource request has been downloaded to 357 // Sent when some data from a resource request has been downloaded to
355 // file. This is only called in the 'download_to_file' case and replaces 358 // file. This is only called in the 'download_to_file' case and replaces
356 // ResourceMsg_DataReceived in the call sequence in that case. 359 // ResourceMsg_DataReceived in the call sequence in that case.
357 IPC_MESSAGE_CONTROL3(ResourceMsg_DataDownloaded, 360 IPC_MESSAGE_CONTROL3(ResourceMsg_DataDownloaded,
358 int /* request_id */, 361 int /* request_id */,
359 int /* data_len */, 362 int /* data_len */,
(...skipping 43 matching lines...) Expand 10 before | Expand all | Expand 10 after
403 406
404 // Sent when the renderer process deletes a resource loader. 407 // Sent when the renderer process deletes a resource loader.
405 IPC_MESSAGE_CONTROL1(ResourceHostMsg_ReleaseDownloadedFile, 408 IPC_MESSAGE_CONTROL1(ResourceHostMsg_ReleaseDownloadedFile,
406 int /* request_id */) 409 int /* request_id */)
407 410
408 // Sent by the renderer when a resource request changes priority. 411 // Sent by the renderer when a resource request changes priority.
409 IPC_MESSAGE_CONTROL3(ResourceHostMsg_DidChangePriority, 412 IPC_MESSAGE_CONTROL3(ResourceHostMsg_DidChangePriority,
410 int /* request_id */, 413 int /* request_id */,
411 net::RequestPriority, 414 net::RequestPriority,
412 int /* intra_priority_value */) 415 int /* intra_priority_value */)
OLDNEW
« no previous file with comments | « content/child/threaded_data_provider.cc ('k') | content/common/resource_messages.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698