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

Unified Diff: net/http/http_transaction_unittest.h

Issue 1604011: Use HttpRequestHeaders for extra_headers. (Closed)
Patch Set: Address eroman comments. Created 10 years, 8 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
« no previous file with comments | « net/http/http_transaction.h ('k') | net/http/http_util.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/http/http_transaction_unittest.h
diff --git a/net/http/http_transaction_unittest.h b/net/http/http_transaction_unittest.h
index e578db268c75dfcd46a092099eedf79864313119..8a998120a444497e24e7b8a5679a04976da6257c 100644
--- a/net/http/http_transaction_unittest.h
+++ b/net/http/http_transaction_unittest.h
@@ -97,7 +97,7 @@ class MockHttpRequest : public net::HttpRequestInfo {
explicit MockHttpRequest(const MockTransaction& t) {
url = GURL(t.url);
method = t.method;
- extra_headers = t.request_headers;
+ extra_headers.AddHeadersFromString(t.request_headers);
load_flags = t.load_flags;
}
};
« no previous file with comments | « net/http/http_transaction.h ('k') | net/http/http_util.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698