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

Unified Diff: content/test/test_url_fetcher_factory.cc

Issue 9342007: Add HTTP PUT request type to content:URLFetcher (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 8 years, 10 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 | « content/test/test_url_fetcher_factory.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/test/test_url_fetcher_factory.cc
===================================================================
--- content/test/test_url_fetcher_factory.cc (revision 120612)
+++ content/test/test_url_fetcher_factory.cc (working copy)
@@ -76,6 +76,10 @@
fake_extra_request_headers_.AddHeadersFromString(extra_request_headers);
}
+void TestURLFetcher::AddExtraRequestHeader(const std::string& header_line) {
+ fake_extra_request_headers_.AddHeaderFromString(header_line);
+}
+
void TestURLFetcher::GetExtraRequestHeaders(net::HttpRequestHeaders* headers) {
*headers = fake_extra_request_headers_;
}
« no previous file with comments | « content/test/test_url_fetcher_factory.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698