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

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

Issue 138513002: Plumb network stack information about existence of cached copy (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 11 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 253 matching lines...) Expand 10 before | Expand all | Expand 10 after
264 264
265 // Sent when some data from a resource request has been downloaded to 265 // Sent when some data from a resource request has been downloaded to
266 // file. This is only called in the 'download_to_file' case and replaces 266 // file. This is only called in the 'download_to_file' case and replaces
267 // ResourceMsg_DataReceived in the call sequence in that case. 267 // ResourceMsg_DataReceived in the call sequence in that case.
268 IPC_MESSAGE_CONTROL3(ResourceMsg_DataDownloaded, 268 IPC_MESSAGE_CONTROL3(ResourceMsg_DataDownloaded,
269 int /* request_id */, 269 int /* request_id */,
270 int /* data_len */, 270 int /* data_len */,
271 int /* encoded_data_length */) 271 int /* encoded_data_length */)
272 272
273 // Sent when the request has been completed. 273 // Sent when the request has been completed.
274 IPC_MESSAGE_CONTROL5(ResourceMsg_RequestComplete, 274 IPC_MESSAGE_CONTROL6(ResourceMsg_RequestComplete,
275 int /* request_id */, 275 int /* request_id */,
276 int /* error_code */, 276 int /* error_code */,
277 bool /* was_ignored_by_handler */, 277 bool /* was_ignored_by_handler */,
278 bool /* stale_copy_in_cache */,
278 std::string /* security info */, 279 std::string /* security info */,
279 base::TimeTicks /* completion_time */) 280 base::TimeTicks /* completion_time */)
280 281
281 // Resource messages sent from the renderer to the browser. 282 // Resource messages sent from the renderer to the browser.
282 283
283 // Makes a resource request via the browser. 284 // Makes a resource request via the browser.
284 IPC_MESSAGE_ROUTED2(ResourceHostMsg_RequestResource, 285 IPC_MESSAGE_ROUTED2(ResourceHostMsg_RequestResource,
285 int /* request_id */, 286 int /* request_id */,
286 ResourceHostMsg_Request) 287 ResourceHostMsg_Request)
287 288
(...skipping 29 matching lines...) Expand all
317 int /* request_id */) 318 int /* request_id */)
318 319
319 // Sent when the renderer process deletes a resource loader. 320 // Sent when the renderer process deletes a resource loader.
320 IPC_MESSAGE_CONTROL1(ResourceHostMsg_ReleaseDownloadedFile, 321 IPC_MESSAGE_CONTROL1(ResourceHostMsg_ReleaseDownloadedFile,
321 int /* request_id */) 322 int /* request_id */)
322 323
323 // Sent by the renderer when a resource request changes priority. 324 // Sent by the renderer when a resource request changes priority.
324 IPC_MESSAGE_CONTROL2(ResourceHostMsg_DidChangePriority, 325 IPC_MESSAGE_CONTROL2(ResourceHostMsg_DidChangePriority,
325 int /* request_id */, 326 int /* request_id */,
326 net::RequestPriority) 327 net::RequestPriority)
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698