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

Side by Side Diff: content/browser/renderer_host/resource_dispatcher_host.h

Issue 7647003: Update routing id of pending resource requests for reparented iframes. (Closed) Base URL: http://git.chromium.org/git/chromium.git@trunk
Patch Set: Fixed Copyright that presubmit complains about. Created 9 years, 4 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) 2011 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 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 // This is the browser side of the resource dispatcher, it receives requests 5 // This is the browser side of the resource dispatcher, it receives requests
6 // from the child process (i.e. [Renderer, Plugin, Worker]ProcessHost), and 6 // from the child process (i.e. [Renderer, Plugin, Worker]ProcessHost), and
7 // dispatches them to URLRequests. It then forwards the messages from the 7 // dispatches them to URLRequests. It then forwards the messages from the
8 // URLRequests back to the correct process for handling. 8 // URLRequests back to the correct process for handling.
9 // 9 //
10 // See http://dev.chromium.org/developers/design-documents/multi-process-resourc e-loading 10 // See http://dev.chromium.org/developers/design-documents/multi-process-resourc e-loading
(...skipping 382 matching lines...) Expand 10 before | Expand all | Expand 10 after
393 const ResourceHostMsg_Request& request_data, 393 const ResourceHostMsg_Request& request_data,
394 IPC::Message* sync_result); 394 IPC::Message* sync_result);
395 void BeginRequest(int request_id, 395 void BeginRequest(int request_id,
396 const ResourceHostMsg_Request& request_data, 396 const ResourceHostMsg_Request& request_data,
397 IPC::Message* sync_result, // only valid for sync 397 IPC::Message* sync_result, // only valid for sync
398 int route_id); // only valid for async 398 int route_id); // only valid for async
399 void OnDataReceivedACK(int request_id); 399 void OnDataReceivedACK(int request_id);
400 void OnDataDownloadedACK(int request_id); 400 void OnDataDownloadedACK(int request_id);
401 void OnUploadProgressACK(int request_id); 401 void OnUploadProgressACK(int request_id);
402 void OnCancelRequest(int request_id); 402 void OnCancelRequest(int request_id);
403 void OnTransferRequestToNewPage(int new_routing_id, int request_id);
403 void OnFollowRedirect(int request_id, 404 void OnFollowRedirect(int request_id,
404 bool has_new_first_party_for_cookies, 405 bool has_new_first_party_for_cookies,
405 const GURL& new_first_party_for_cookies); 406 const GURL& new_first_party_for_cookies);
406 void OnReleaseDownloadedFile(int request_id); 407 void OnReleaseDownloadedFile(int request_id);
407 408
408 // Creates ResourceDispatcherHostRequestInfo for a browser-initiated request 409 // Creates ResourceDispatcherHostRequestInfo for a browser-initiated request
409 // (a download or a page save). |download| should be true if the request 410 // (a download or a page save). |download| should be true if the request
410 // is a file download. 411 // is a file download.
411 ResourceDispatcherHostRequestInfo* CreateRequestInfoForBrowserRequest( 412 ResourceDispatcherHostRequestInfo* CreateRequestInfoForBrowserRequest(
412 ResourceHandler* handler, 413 ResourceHandler* handler,
(...skipping 104 matching lines...) Expand 10 before | Expand all | Expand 10 after
517 518
518 ResourceDispatcherHostDelegate* delegate_; 519 ResourceDispatcherHostDelegate* delegate_;
519 520
520 static bool is_prefetch_enabled_; 521 static bool is_prefetch_enabled_;
521 bool allow_cross_origin_auth_prompt_; 522 bool allow_cross_origin_auth_prompt_;
522 523
523 DISALLOW_COPY_AND_ASSIGN(ResourceDispatcherHost); 524 DISALLOW_COPY_AND_ASSIGN(ResourceDispatcherHost);
524 }; 525 };
525 526
526 #endif // CONTENT_BROWSER_RENDERER_HOST_RESOURCE_DISPATCHER_HOST_H_ 527 #endif // CONTENT_BROWSER_RENDERER_HOST_RESOURCE_DISPATCHER_HOST_H_
OLDNEW
« no previous file with comments | « chrome/browser/magic_iframe_browsertest.cc ('k') | content/browser/renderer_host/resource_dispatcher_host.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698