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

Unified Diff: content/child/npapi/plugin_url_fetcher.h

Issue 398903002: Plumb redirect info out of net, through content, and into child processes. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Add a TODO Created 6 years, 5 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
Index: content/child/npapi/plugin_url_fetcher.h
diff --git a/content/child/npapi/plugin_url_fetcher.h b/content/child/npapi/plugin_url_fetcher.h
index b1d77160de50cf7479e42218dd16ff854b7d93d2..e3bef7d562a3809ab90c299e084d5a7625090213 100644
--- a/content/child/npapi/plugin_url_fetcher.h
+++ b/content/child/npapi/plugin_url_fetcher.h
@@ -15,6 +15,10 @@ namespace webkit_glue {
class ResourceLoaderBridge;
}
+namespace net {
+struct RedirectInfo;
mmenke 2014/07/17 16:55:09 Hrm...In most cases, you aren't bothering to forwa
davidben 2014/07/17 22:03:55 Done.
+}
+
namespace content {
class MultipartResponseDelegate;
class PluginStreamUrl;
@@ -56,8 +60,7 @@ class PluginURLFetcher : public RequestPeer {
private:
// RequestPeer implementation:
virtual void OnUploadProgress(uint64 position, uint64 size) OVERRIDE;
- virtual bool OnReceivedRedirect(const GURL& new_url,
- const GURL& new_first_party_for_cookies,
+ virtual bool OnReceivedRedirect(const net::RedirectInfo& redirect_info,
const ResourceResponseInfo& info) OVERRIDE;
virtual void OnReceivedResponse(const ResourceResponseInfo& info) OVERRIDE;
virtual void OnDownloadedData(int len, int encoded_data_length) OVERRIDE;

Powered by Google App Engine
This is Rietveld 408576698