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

Unified Diff: net/url_request/url_request_redirect_job.h

Issue 348253002: Add CORS headers to URLRequestRedirectJob. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: EXPECT GURL -> std::string Created 6 years, 3 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: net/url_request/url_request_redirect_job.h
diff --git a/net/url_request/url_request_redirect_job.h b/net/url_request/url_request_redirect_job.h
index 18c4e10ed20e0c4ac8fb4bab5d50a0efdc08097c..23fc811228de5988044dbe31ce545126b4cb61c1 100644
--- a/net/url_request/url_request_redirect_job.h
+++ b/net/url_request/url_request_redirect_job.h
@@ -17,9 +17,11 @@ class GURL;
namespace net {
-// A URLRequestJob that will redirect the request to the specified
-// URL. This is useful to restart a request at a different URL based
-// on the result of another job.
+// A URLRequestJob that will redirect the request to the specified URL. This is
+// useful to restart a request at a different URL based on the result of another
+// job. The redirect URL could be visible to scripts if the redirect points to
+// a same-origin URL, or if the redirection target is served with CORS response
+// headers.
class NET_EXPORT URLRequestRedirectJob : public URLRequestJob {
public:
// Valid status codes for the redirect job. Other 30x codes are theoretically
« no previous file with comments | « chrome/test/data/extensions/api_test/webrequest/test_blocking.js ('k') | net/url_request/url_request_redirect_job.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698