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

Unified Diff: net/url_request/url_request_test_util.h

Issue 981633002: Created new URLRequestContext for secure proxy check (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fixed the tests Created 5 years, 9 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: 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 0208b4392fcf3fb0789828333d636f9e3fb85ef4..d3ec711eb5fce86aa44604ae2a5f3cfc6188a260 100644
--- a/net/url_request/url_request_test_util.h
+++ b/net/url_request/url_request_test_util.h
@@ -71,6 +71,8 @@ class TestURLRequestContext : public URLRequestContext {
void set_http_network_session_params(
const HttpNetworkSession::Params& params) {
+ http_network_session_params_.reset(
+ const_cast<HttpNetworkSession::Params*>(&params));
bengr 2015/03/16 23:21:06 Shouldn't you just change set_http_network_session
tbansal1 2015/03/19 22:43:57 Done.
}
void SetSdchManager(scoped_ptr<SdchManager> sdch_manager) {

Powered by Google App Engine
This is Rietveld 408576698