Home
last modified time | relevance | path

Searched refs:network_delegate (Results 1 – 22 of 22) sorted by relevance

/external/chromium/net/url_request/
Durl_request_context_storage.cc75 NetworkDelegate* network_delegate) { in set_network_delegate() argument
76 context_->set_network_delegate(network_delegate); in set_network_delegate()
77 network_delegate_.reset(network_delegate); in set_network_delegate()
Durl_request_job.cc324 if (request_->context() && request_->context()->network_delegate()) { in NotifyReadComplete()
325 request_->context()->network_delegate()->NotifyReadCompleted( in NotifyReadComplete()
332 if (request_->context() && request_->context()->network_delegate()) { in NotifyReadComplete()
333 request_->context()->network_delegate()->NotifyReadCompleted( in NotifyReadComplete()
391 if (request_->context() && request_->context()->network_delegate()) in CompleteNotifyDone()
392 request_->context()->network_delegate()->NotifyReadCompleted( in CompleteNotifyDone()
Durl_request_context.h127 void set_network_delegate(NetworkDelegate* network_delegate) { in set_network_delegate() argument
128 network_delegate_ = network_delegate; in set_network_delegate()
130 NetworkDelegate* network_delegate() const { return network_delegate_; } in network_delegate() function
Durl_request.cc136 if (context_ && context_->network_delegate()) in ~URLRequest()
137 context_->network_delegate()->NotifyURLRequestDestroyed(this); in ~URLRequest()
369 if (context_ && context_->network_delegate()) { in Start()
370 if (context_->network_delegate()->NotifyBeforeURLRequest( in Start()
527 if (context_ && context_->network_delegate()) in ResponseStarted()
528 context_->network_delegate()->NotifyResponseStarted(this); in ResponseStarted()
Durl_request_unittest.cc279 TestNetworkDelegate network_delegate; // must outlive URLRequest in TEST_F() local
283 context->set_network_delegate(&network_delegate); in TEST_F()
297 EXPECT_EQ(1, network_delegate.error_count()); in TEST_F()
299 network_delegate.last_os_error()); in TEST_F()
308 BlockingNetworkDelegate network_delegate; in TEST_F() local
309 network_delegate.set_callback_retval(ERR_EMPTY_RESPONSE); in TEST_F()
315 context->set_network_delegate(&network_delegate); in TEST_F()
323 EXPECT_EQ(1, network_delegate.created_requests()); in TEST_F()
324 EXPECT_EQ(0, network_delegate.destroyed_requests()); in TEST_F()
326 EXPECT_EQ(1, network_delegate.destroyed_requests()); in TEST_F()
[all …]
Durl_request_context.cc45 set_network_delegate(other->network_delegate()); in CopyFrom()
Durl_request_context_storage.h53 void set_network_delegate(NetworkDelegate* network_delegate);
Durl_request_test_util.cc86 params.network_delegate = network_delegate(); in Init()
/external/chromium/net/http/
Dhttp_network_session.h56 network_delegate(NULL), in Params()
68 NetworkDelegate* network_delegate; member
120 NetworkDelegate* network_delegate() { in network_delegate() function
Dhttp_network_session.cc27 network_delegate_(params.network_delegate), in HttpNetworkSession()
Dhttp_cache.cc51 NetworkDelegate* network_delegate, in CreateNetworkSession() argument
62 params.network_delegate = network_delegate; in CreateNetworkSession()
319 NetworkDelegate* network_delegate, in HttpCache() argument
340 network_delegate, in HttpCache()
Dhttp_cache.h128 NetworkDelegate* network_delegate,
Dhttp_network_transaction.cc775 if (session_->network_delegate()) { in DoBuildRequest()
776 return session_->network_delegate()->NotifyBeforeSendHeaders( in DoBuildRequest()
Dhttp_cache_transaction.cc907 if (cache_->GetSession() && cache_->GetSession()->network_delegate()) { in DoNotifyBeforeSendHeaders()
910 return cache_->GetSession()->network_delegate()->NotifyBeforeSendHeaders( in DoNotifyBeforeSendHeaders()
/external/chromium/chrome/browser/profiles/
Doff_the_record_profile_io_data.cc136 main_context->set_network_delegate(network_delegate()); in LazyInitializeInternal()
174 main_context->network_delegate(), in LazyInitializeInternal()
Dprofile_impl_io_data.cc191 main_context->set_network_delegate(network_delegate()); in LazyInitializeInternal()
192 media_request_context_->set_network_delegate(network_delegate()); in LazyInitializeInternal()
231 main_context->network_delegate(), in LazyInitializeInternal()
Dprofile_io_data.h143 net::NetworkDelegate* network_delegate() const { in network_delegate() function
/external/chromium/chrome/browser/custom_handlers/
Dprotocol_handler_registry.cc85 return request->context()->network_delegate()->MaybeCreateURLRequestJob( in Factory()
/external/chromium/chrome/browser/
Dio_thread.cc457 session_params.network_delegate = globals_->system_network_delegate.get(); in Init()
665 system_params.network_delegate = globals_->system_network_delegate.get(); in InitSystemRequestContext()
/external/chromium/net/spdy/
Dspdy_test_util.cc966 params.network_delegate = network_delegate(); in SpdyURLRequestContext()
/external/chromium/
DAndroid.mk192 net/base/network_delegate.cc \
/external/chromium/net/
Dnet.gyp159 'base/network_delegate.cc',
160 'base/network_delegate.h',