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

Unified Diff: net/url_request/url_request_test_util.h

Issue 9368031: Expose a static configuration value for the host to use for URLRequestTestHTTP tests. (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Scoped override object rather than setter. 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 | « no previous file | net/url_request/url_request_test_util.cc » ('j') | net/url_request/url_request_test_util.cc » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/url_request/url_request_test_util.h
diff --git a/net/url_request/url_request_test_util.h b/net/url_request/url_request_test_util.h
index d6054c01d0d0b65ad6ac9155a3185a7eef61a6b2..7813b7fc49cf206d110432adce7542781c343f39 100644
--- a/net/url_request/url_request_test_util.h
+++ b/net/url_request/url_request_test_util.h
@@ -242,4 +242,13 @@ class TestNetworkDelegate : public net::NetworkDelegate {
std::map<int, std::string> event_order_;
};
+class CustomUrlRequestTestHttpHost {
Paweł Hajdan Jr. 2012/02/17 11:06:36 nit: Include "Scoped" somewhere in the name. Also
erikwright (departed) 2012/02/17 17:48:12 Done.
+ public:
+ explicit CustomUrlRequestTestHttpHost(const std::string& value);
+ ~CustomUrlRequestTestHttpHost();
+ static const std::string& value();
+ private:
+ static std::string value_;
Paweł Hajdan Jr. 2012/02/17 11:06:36 nit: DISALLOW_COPY_AND_ASSIGN.
erikwright (departed) 2012/02/17 17:48:12 Done.
+};
+
#endif // NET_URL_REQUEST_URL_REQUEST_TEST_UTIL_H_
« no previous file with comments | « no previous file | net/url_request/url_request_test_util.cc » ('j') | net/url_request/url_request_test_util.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698