Home
last modified time | relevance | path

Searched refs:user_callback_ (Results 1 – 21 of 21) sorted by relevance

/external/chromium_org/net/http/
Ddisk_cache_based_quic_server_info.cc82 if (!user_callback_.is_null()) in WaitForDataReady()
84 user_callback_ = callback; in WaitForDataReady()
106 DCHECK(user_callback_.is_null()); in Persist()
117 DCHECK(user_callback_.is_null()); in ~DiskCacheBasedQuicServerInfo()
130 if (rv != ERR_IO_PENDING && !user_callback_.is_null()) { in OnIOComplete()
131 CompletionCallback callback = user_callback_; in OnIOComplete()
132 user_callback_.Reset(); in OnIOComplete()
Dhttp_proxy_client_socket.cc75 DCHECK(user_callback_.is_null()); in RestartWithAuth()
84 user_callback_ = callback; in RestartWithAuth()
116 DCHECK(user_callback_.is_null()); in Connect()
133 user_callback_ = callback; in Connect()
144 user_callback_.Reset(); in Disconnect()
218 DCHECK(user_callback_.is_null()); in Read()
239 DCHECK(user_callback_.is_null()); in Write()
310 DCHECK(!user_callback_.is_null()); in DoCallback()
314 CompletionCallback c = user_callback_; in DoCallback()
315 user_callback_.Reset(); in DoCallback()
Dhttp_response_body_drainer.h58 CompletionCallback user_callback_; variable
Ddisk_cache_based_quic_server_info.h97 CompletionCallback user_callback_; variable
Dhttp_proxy_client_socket.h137 CompletionCallback user_callback_; variable
/external/chromium_org/content/browser/net/
Dview_http_cache_job_factory.cc62 user_callback_.Reset(); in Orphan()
81 base::Closure user_callback_; member in content::__anone02e3ba70111::ViewHttpCacheJob::Core
134 DCHECK(user_callback_.is_null()); in Start()
151 user_callback_ = callback; in Start()
182 if (!user_callback_.is_null()) in OnIOComplete()
183 user_callback_.Run(); in OnIOComplete()
/external/chromium_org/net/socket/
Dsocks_client_socket.cc83 DCHECK(user_callback_.is_null()); in Connect()
95 user_callback_ = callback; in Connect()
110 user_callback_.Reset(); in Disconnect()
184 DCHECK(user_callback_.is_null()); in Read()
202 DCHECK(user_callback_.is_null()); in Write()
224 DCHECK(!user_callback_.is_null()); in DoCallback()
229 base::ResetAndReturn(&user_callback_).Run(result); in DoCallback()
Dsocks5_client_socket.cc55 DCHECK(user_callback_.is_null()); in Connect()
68 user_callback_ = callback; in Connect()
82 user_callback_.Reset(); in Disconnect()
156 DCHECK(user_callback_.is_null()); in Read()
174 DCHECK(user_callback_.is_null()); in Write()
196 DCHECK(!user_callback_.is_null()); in DoCallback()
200 base::ResetAndReturn(&user_callback_).Run(result); in DoCallback()
Dclient_socket_handle.cc62 user_callback_.Reset(); in ResetInternal()
140 CompletionCallback callback = user_callback_; in OnIOComplete()
141 user_callback_.Reset(); in OnIOComplete()
Dclient_socket_handle.h197 CompletionCallback user_callback_; variable
234 user_callback_ = callback; in Init()
Dsocks5_client_socket.h126 CompletionCallback user_callback_; variable
Dsocks_client_socket.h105 CompletionCallback user_callback_; variable
Dsocket_test_util.cc1782 user_callback_(callback) { in MockConnectJob()
1791 user_callback_.Reset(); in Connect()
1803 user_callback_.Reset(); in CancelHandle()
1828 if (!user_callback_.is_null()) { in OnConnect()
1829 CompletionCallback callback = user_callback_; in OnConnect()
1830 user_callback_.Reset(); in OnConnect()
Dsocket_test_util.h1200 CompletionCallback user_callback_; variable
/external/chromium_org/net/disk_cache/blockfile/
Dsparse_control_v3.cc240 DCHECK(user_callback_.is_null()); in StartIO()
250 user_callback_ = callback; in StartIO()
268 user_callback_.Reset(); in StartIO()
558 if (!user_callback_.is_null()) { in DoChildIO()
817 DCHECK(!user_callback_.is_null()); in DoUserCallback()
818 CompletionCallback cb = user_callback_; in DoUserCallback()
819 user_callback_.Reset(); in DoUserCallback()
Dsparse_control.cc261 DCHECK(user_callback_.is_null()); in StartIO()
271 user_callback_ = callback; in StartIO()
289 user_callback_.Reset(); in StartIO()
716 if (!user_callback_.is_null()) { in DoChildIO()
862 DCHECK(!user_callback_.is_null()); in DoUserCallback()
863 CompletionCallback cb = user_callback_; in DoUserCallback()
864 user_callback_.Reset(); in DoUserCallback()
Dsparse_control.h163 CompletionCallback user_callback_; variable
Dsparse_control_v3.h161 CompletionCallback user_callback_; variable
/external/chromium_org/net/ftp/
Dftp_network_transaction.cc268 user_callback_ = callback; in Start()
281 user_callback_ = callback; in RestartWithAuth()
297 user_callback_ = callback; in Read()
334 user_callback_.Reset(); in ResetStateForRestart()
366 DCHECK(!user_callback_.is_null()); in DoCallback()
369 CompletionCallback c = user_callback_; in DoCallback()
370 user_callback_.Reset(); in DoCallback()
Dftp_network_transaction.h200 CompletionCallback user_callback_; variable
/external/chromium_org/net/proxy/
Dproxy_service.cc742 user_callback_(user_callback), in PacRequest()
801 user_callback_.Reset(); in Cancel()
809 return user_callback_.is_null(); in was_cancelled()
857 if (!user_callback_.is_null()) { in QueryComplete()
858 net::CompletionCallback callback = user_callback_; in QueryComplete()
870 net::CompletionCallback user_callback_; member in net::ProxyService::PacRequest