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

Unified Diff: content/test/test_url_fetcher_factory.h

Issue 8054013: Recover from bad proxy settings pointing to non-proxy servers that reply anyway. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Rebased, reviewed Created 9 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
« no previous file with comments | « content/common/net/url_fetcher.cc ('k') | content/test/test_url_fetcher_factory.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/test/test_url_fetcher_factory.h
diff --git a/content/test/test_url_fetcher_factory.h b/content/test/test_url_fetcher_factory.h
index c6cd0aa2e7c3ec6278c8ac78e42a2723ff1a910f..377b5b03c8c2f9c9519b9a84b02a43abe8e6bb9b 100644
--- a/content/test/test_url_fetcher_factory.h
+++ b/content/test/test_url_fetcher_factory.h
@@ -96,6 +96,10 @@ class TestURLFetcher : public URLFetcher {
}
virtual int response_code() const OVERRIDE;
+ void set_was_fetched_via_proxy(bool flag);
+
+ void set_response_headers(scoped_refptr<net::HttpResponseHeaders> headers);
+
// Set string data.
void SetResponseString(const std::string& response);
« no previous file with comments | « content/common/net/url_fetcher.cc ('k') | content/test/test_url_fetcher_factory.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698