diff options
author | davidben@chromium.org <davidben@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2014-08-15 20:49:59 +0000 |
---|---|---|
committer | davidben@chromium.org <davidben@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2014-08-15 20:51:41 +0000 |
commit | cba246463b2bda73877fc53da6d7eff97448d93d (patch) | |
tree | c8a77dfaff426ea06667b3714e4af2d9ed3b7d94 /content/browser/loader/stream_resource_handler.cc | |
parent | 7d0a0cac7c1233e6beeaf7ca8092f89f81e950ef (diff) | |
download | chromium_src-cba246463b2bda73877fc53da6d7eff97448d93d.zip chromium_src-cba246463b2bda73877fc53da6d7eff97448d93d.tar.gz chromium_src-cba246463b2bda73877fc53da6d7eff97448d93d.tar.bz2 |
Plumb redirect info out of net, through content, and into child processes.
This saves the logic in PluginURLFetcher and WebURLLoader that has to replicate
the method-munging, referrer-munging, and first-party-URL-munging logic that is
already done in net/.
BUG=384609
Review URL: https://codereview.chromium.org/398903002
Cr-Commit-Position: refs/heads/master@{#290005}
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@290005 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'content/browser/loader/stream_resource_handler.cc')
-rw-r--r-- | content/browser/loader/stream_resource_handler.cc | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/content/browser/loader/stream_resource_handler.cc b/content/browser/loader/stream_resource_handler.cc index 46713fc..0a2d6e8 100644 --- a/content/browser/loader/stream_resource_handler.cc +++ b/content/browser/loader/stream_resource_handler.cc @@ -36,9 +36,10 @@ bool StreamResourceHandler::OnUploadProgress(uint64 position, return true; } -bool StreamResourceHandler::OnRequestRedirected(const GURL& url, - ResourceResponse* resp, - bool* defer) { +bool StreamResourceHandler::OnRequestRedirected( + const net::RedirectInfo& redirect_info, + ResourceResponse* resp, + bool* defer) { return true; } |