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

Unified Diff: webkit/glue/resource_loader_bridge.h

Issue 46026: Get rid of stashing a frame pointer with ResourceRequest and just store the r... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 11 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « webkit/glue/resource_handle_impl.cc ('k') | webkit/glue/unittest_test_server.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: webkit/glue/resource_loader_bridge.h
===================================================================
--- webkit/glue/resource_loader_bridge.h (revision 11712)
+++ webkit/glue/resource_loader_bridge.h (working copy)
@@ -144,9 +144,6 @@
// the standard MIME header encoding rules. The headers parameter can also
// be null if no extra request headers need to be set.
//
- // The WebFrame passed to this function provides context about the origin
- // of the resource request.
- //
// policy_url is the URL of the document in the top-level window, which may be
// checked by the third-party cookie blocking policy.
//
@@ -157,16 +154,19 @@
//
// request_type indicates if the current request is the main frame load, a
// sub-frame load, or a sub objects load.
- static ResourceLoaderBridge* Create(WebFrame* frame,
- const std::string& method,
+ //
+ // routing_id passed to this function allows it to be associated with a
+ // frame's network context.
+ static ResourceLoaderBridge* Create(const std::string& method,
const GURL& url,
const GURL& policy_url,
const GURL& referrer,
const std::string& headers,
int load_flags,
- int origin_pid,
+ int requestor_pid,
ResourceType::Type request_type,
- bool mixed_content);
+ bool mixed_content,
+ int routing_id);
// Call this method before calling Start() to append a chunk of binary data
// to the request body. May only be used with HTTP(S) POST requests.
« no previous file with comments | « webkit/glue/resource_handle_impl.cc ('k') | webkit/glue/unittest_test_server.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698