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

Unified Diff: net/url_request/url_request_test_job.h

Issue 1414983002: Make URLRequestTestJob accept \n terminated header lines. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Comments mmenke Created 5 years, 2 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_test_job.h
diff --git a/net/url_request/url_request_test_job.h b/net/url_request/url_request_test_job.h
index db88fb819d00f3fcfa730d198a800cfc844f1ff0..09b31a41e2cf787f718f071c1d68c8e31dfa2d94 100644
--- a/net/url_request/url_request_test_job.h
+++ b/net/url_request/url_request_test_job.h
@@ -50,8 +50,8 @@ class NET_EXPORT_PRIVATE URLRequestTestJob : public URLRequestJob {
bool auto_advance);
// Constructs a job to return the given response regardless of the request
- // url. The headers should include the HTTP status line and be formatted as
- // expected by HttpResponseHeaders.
+ // url. The headers should include the HTTP status line and use CRLF/LF as the
+ // line separator.
URLRequestTestJob(URLRequest* request,
NetworkDelegate* network_delegate,
const std::string& response_headers,
« no previous file with comments | « content/browser/service_worker/service_worker_write_to_cache_job_unittest.cc ('k') | net/url_request/url_request_test_job.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698