Home
last modified time | relevance | path

Searched refs:session_deps (Results 1 – 7 of 7) sorted by relevance

/external/chromium/net/http/
Dhttp_stream_factory_impl_unittest.cc78 HttpNetworkSession* CreateSession(SessionDependencies* session_deps) { in CreateSession() argument
80 params.host_resolver = session_deps->host_resolver.get(); in CreateSession()
81 params.cert_verifier = session_deps->cert_verifier.get(); in CreateSession()
82 params.proxy_service = session_deps->proxy_service; in CreateSession()
83 params.ssl_config_service = session_deps->ssl_config_service; in CreateSession()
84 params.client_socket_factory = &session_deps->socket_factory; in CreateSession()
86 session_deps->http_auth_handler_factory.get(); in CreateSession()
87 params.net_log = session_deps->net_log; in CreateSession()
216 SessionDependencies session_deps(ProxyService::CreateDirect()); in TEST() local
217 scoped_refptr<HttpNetworkSession> session(CreateSession(&session_deps)); in TEST()
[all …]
Dhttp_network_transaction_unittest.cc104 HttpNetworkSession* CreateSession(SessionDependencies* session_deps) { in CreateSession() argument
106 params.client_socket_factory = &session_deps->socket_factory; in CreateSession()
107 params.host_resolver = session_deps->host_resolver.get(); in CreateSession()
108 params.cert_verifier = session_deps->cert_verifier.get(); in CreateSession()
109 params.proxy_service = session_deps->proxy_service; in CreateSession()
110 params.ssl_config_service = session_deps->ssl_config_service; in CreateSession()
112 session_deps->http_auth_handler_factory.get(); in CreateSession()
113 params.net_log = session_deps->net_log; in CreateSession()
154 SessionDependencies session_deps; in SimpleGetHelper() local
156 new HttpNetworkTransaction(CreateSession(&session_deps))); in SimpleGetHelper()
[all …]
/external/chromium/net/spdy/
Dspdy_session_unittest.cc108 SpdySessionDependencies session_deps; in TEST_F() local
109 session_deps.host_resolver->set_synchronous_mode(true); in TEST_F()
119 session_deps.socket_factory->AddSocketDataProvider(&data); in TEST_F()
122 session_deps.socket_factory->AddSSLSocketDataProvider(&ssl); in TEST_F()
125 SpdySessionDependencies::SpdyCreateSession(&session_deps)); in TEST_F()
169 SpdySessionDependencies session_deps; in TEST_F() local
170 session_deps.host_resolver->set_synchronous_mode(true); in TEST_F()
187 session_deps.socket_factory->AddSocketDataProvider(&data); in TEST_F()
190 session_deps.socket_factory->AddSSLSocketDataProvider(&ssl); in TEST_F()
193 SpdySessionDependencies::SpdyCreateSession(&session_deps)); in TEST_F()
[all …]
Dspdy_test_util.cc925 SpdySessionDependencies* session_deps) { in SpdyCreateSession() argument
927 params.client_socket_factory = session_deps->socket_factory.get(); in SpdyCreateSession()
928 params.host_resolver = session_deps->host_resolver.get(); in SpdyCreateSession()
929 params.cert_verifier = session_deps->cert_verifier.get(); in SpdyCreateSession()
930 params.proxy_service = session_deps->proxy_service; in SpdyCreateSession()
931 params.ssl_config_service = session_deps->ssl_config_service; in SpdyCreateSession()
933 session_deps->http_auth_handler_factory.get(); in SpdyCreateSession()
939 SpdySessionDependencies* session_deps) { in SpdyCreateSessionDeterministic() argument
942 session_deps->deterministic_socket_factory.get(); in SpdyCreateSessionDeterministic()
943 params.host_resolver = session_deps->host_resolver.get(); in SpdyCreateSessionDeterministic()
[all …]
Dspdy_stream_unittest.cc133 SpdySessionDependencies session_deps; in TEST_F() local
135 session_ = SpdySessionDependencies::SpdyCreateSession(&session_deps); in TEST_F()
192 session_deps.socket_factory->AddSocketDataProvider(data.get()); in TEST_F()
252 SpdySessionDependencies session_deps; in TEST_F() local
253 session_ = SpdySessionDependencies::SpdyCreateSession(&session_deps); in TEST_F()
Dspdy_test_util.h347 SpdySessionDependencies* session_deps);
349 SpdySessionDependencies* session_deps);
Dspdy_network_transaction_unittest.cc307 scoped_ptr<SpdySessionDependencies>& session_deps() { in session_deps() function in net::SpdyNetworkTransactionTest::NormalSpdyTransactionHelper
519 SpdySessionDependencies session_deps; in TEST_P() local
521 SpdySessionDependencies::SpdyCreateSession(&session_deps)); in TEST_P()
4465 helper.session_deps().reset(new SpdySessionDependencies( in TEST_P()
4468 SpdySessionDependencies::SpdyCreateSession(helper.session_deps().get()))); in TEST_P()
4568 helper.session_deps().reset(new SpdySessionDependencies( in TEST_P()
4571 SpdySessionDependencies::SpdyCreateSession(helper.session_deps().get()))); in TEST_P()
4705 helper_proxy.session_deps().swap(ssd_proxy); in TEST_P()