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

Unified Diff: components/certificate_transparency/log_proof_fetcher_unittest.cc

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: components/certificate_transparency/log_proof_fetcher_unittest.cc
diff --git a/components/certificate_transparency/log_proof_fetcher_unittest.cc b/components/certificate_transparency/log_proof_fetcher_unittest.cc
index a61da011b09199bd2a734e66282400fa1156ef91..f6caa3beb98bfd091dff8a772d4e987fe5a60abf 100644
--- a/components/certificate_transparency/log_proof_fetcher_unittest.cc
+++ b/components/certificate_transparency/log_proof_fetcher_unittest.cc
@@ -26,12 +26,12 @@ namespace certificate_transparency {
namespace {
const char kGetSTHHeaders[] =
- "HTTP/1.1 200 OK\0"
- "Content-Type: application/json; charset=ISO-8859-1\0";
+ "HTTP/1.1 200 OK\n"
+ "Content-Type: application/json; charset=ISO-8859-1\n";
const char kGetSTHNotFoundHeaders[] =
- "HTTP/1.1 404 Not Found\0"
- "Content-Type: text/html; charset=iso-8859-1\0";
+ "HTTP/1.1 404 Not Found\n"
+ "Content-Type: text/html; charset=iso-8859-1\n";
const char kLogSchema[] = "https";
const char kLogHost[] = "ct.log.example.com";

Powered by Google App Engine
This is Rietveld 408576698