Home
last modified time | relevance | path

Searched refs:net_log_ (Results 1 – 25 of 106) sorted by relevance

12345

/external/chromium/net/disk_cache/
Dmem_entry_impl.cc64 net_log_ = net::BoundNetLog::Make(net_log, in CreateEntry()
66 net_log_.BeginEvent( in CreateEntry()
79 net_log_.AddEvent(net::NetLog::TYPE_ENTRY_DOOM, NULL); in InternalDoom()
171 if (net_log_.IsLoggingAllEvents()) { in ReadData()
172 net_log_.BeginEvent( in ReadData()
180 if (net_log_.IsLoggingAllEvents()) { in ReadData()
181 net_log_.EndEvent( in ReadData()
190 if (net_log_.IsLoggingAllEvents()) { in WriteData()
191 net_log_.BeginEvent( in WriteData()
199 if (net_log_.IsLoggingAllEvents()) { in WriteData()
[all …]
/external/chromium/net/socket/
Dsocks5_client_socket.cc43 net_log_(transport_socket->socket()->NetLog()) { in SOCKS5ClientSocket()
59 net_log_(transport_socket->NetLog()) { in SOCKS5ClientSocket()
86 net_log_.BeginEvent(NetLog::TYPE_SOCKS5_CONNECT, NULL); in Connect()
95 net_log_.EndEventWithNetErrorCode(NetLog::TYPE_SOCKS5_CONNECT, rv); in Connect()
119 return net_log_; in NetLog()
199 net_log_.EndEvent(NetLog::TYPE_SOCKS5_CONNECT, NULL); in OnIOComplete()
213 net_log_.BeginEvent(NetLog::TYPE_SOCKS5_GREET_WRITE, NULL); in DoLoop()
218 net_log_.EndEventWithNetErrorCode(NetLog::TYPE_SOCKS5_GREET_WRITE, rv); in DoLoop()
222 net_log_.BeginEvent(NetLog::TYPE_SOCKS5_GREET_READ, NULL); in DoLoop()
227 net_log_.EndEventWithNetErrorCode(NetLog::TYPE_SOCKS5_GREET_READ, rv); in DoLoop()
[all …]
Dssl_server_socket_nss.cc94 net_log_.BeginEvent(NetLog::TYPE_SSL_ACCEPT, NULL); in Accept()
99 net_log_.EndEventWithNetErrorCode(NetLog::TYPE_SSL_ACCEPT, rv); in Accept()
106 net_log_.EndEventWithNetErrorCode(NetLog::TYPE_SSL_ACCEPT, rv); in Accept()
121 net_log_.EndEventWithNetErrorCode(NetLog::TYPE_SSL_ACCEPT, rv); in Accept()
193 LogFailedNSSFunction(net_log_, "SSL_ImportFD", ""); in InitializeSSLOptions()
202 LogFailedNSSFunction(net_log_, "SSL_OptionSet", "SSL_SECURITY"); in InitializeSSLOptions()
208 LogFailedNSSFunction(net_log_, "SSL_OptionSet", "SSL_ENABLE_SSL2"); in InitializeSSLOptions()
214 LogFailedNSSFunction(net_log_, "SSL_OptionSet", "SSL_ENABLE_SSL3"); in InitializeSSLOptions()
220 LogFailedNSSFunction(net_log_, "SSL_OptionSet", "SSL_ENABLE_TLS"); in InitializeSSLOptions()
236 net_log_, "SSL_OptionSet", "SSL_ENABLE_SESSION_TICKETS"); in InitializeSSLOptions()
[all …]
Dsocks5_client_socket_unittest.cc46 CapturingNetLog net_log_; member in net::__anon89c5c2a70111::SOCKS5ClientSocketTest
60 net_log_(CapturingNetLog::kUnbounded), in SOCKS5ClientSocketTest()
125 "localhost", 80, &net_log_)); in TEST_F()
136 net_log_.GetEntries(&net_log_entries); in TEST_F()
145 net_log_.GetEntries(&net_log_entries); in TEST_F()
253 hostname, 80, &net_log_)); in TEST_F()
258 net_log_.GetEntries(&net_log_entries); in TEST_F()
266 net_log_.GetEntries(&net_log_entries); in TEST_F()
284 hostname, 80, &net_log_)); in TEST_F()
289 net_log_.GetEntries(&net_log_entries); in TEST_F()
[all …]
Dtcp_server_socket_libevent.cc43 net_log_(BoundNetLog::Make(net_log, NetLog::SOURCE_SOCKET)) { in TCPServerSocketLibevent()
47 net_log_.BeginEvent(NetLog::TYPE_SOCKET_ALIVE, params); in TCPServerSocketLibevent()
53 net_log_.EndEvent(NetLog::TYPE_SOCKET_ALIVE, NULL); in ~TCPServerSocketLibevent()
120 net_log_.BeginEvent(NetLog::TYPE_TCP_ACCEPT, NULL); in Accept()
149 net_log_.EndEventWithNetErrorCode(NetLog::TYPE_TCP_ACCEPT, net_error); in AcceptInternal()
158 net_log_.EndEventWithNetErrorCode(NetLog::TYPE_TCP_ACCEPT, ERR_FAILED); in AcceptInternal()
163 net_log_.net_log(), net_log_.source()); in AcceptInternal()
166 net_log_.EndEvent(NetLog::TYPE_TCP_ACCEPT, in AcceptInternal()
Dtcp_server_socket_win.cc24 net_log_(BoundNetLog::Make(net_log, NetLog::SOURCE_SOCKET)) { in TCPServerSocketWin()
28 net_log_.BeginEvent(NetLog::TYPE_SOCKET_ALIVE, params); in TCPServerSocketWin()
34 net_log_.EndEvent(NetLog::TYPE_SOCKET_ALIVE, NULL); in ~TCPServerSocketWin()
108 net_log_.BeginEvent(NetLog::TYPE_TCP_ACCEPT, NULL); in Accept()
133 net_log_.EndEventWithNetErrorCode(NetLog::TYPE_TCP_ACCEPT, net_error); in AcceptInternal()
142 net_log_.EndEventWithNetErrorCode(NetLog::TYPE_TCP_ACCEPT, ERR_FAILED); in AcceptInternal()
147 net_log_.net_log(), net_log_.source()); in AcceptInternal()
150 net_log_.EndEvent(NetLog::TYPE_TCP_ACCEPT, in AcceptInternal()
Dtcp_client_socket_libevent.cc118 net_log_(BoundNetLog::Make(net_log, NetLog::SOURCE_SOCKET)), in TCPClientSocketLibevent()
131 net_log_.BeginEvent(NetLog::TYPE_SOCKET_ALIVE, params); in TCPClientSocketLibevent()
139 net_log_.EndEvent(NetLog::TYPE_SOCKET_ALIVE, NULL); in ~TCPClientSocketLibevent()
177 net_log_.BeginEvent( in Connect()
233 net_log_.BeginEvent(NetLog::TYPE_TCP_CONNECT_ATTEMPT, in DoConnect()
295 net_log_.EndEvent(NetLog::TYPE_TCP_CONNECT_ATTEMPT, params); in DoConnectComplete()
398 net_log_, NetLog::TYPE_SOCKET_BYTES_RECEIVED, nread, buf->data()); in Read()
437 net_log_, NetLog::TYPE_SOCKET_BYTES_SENT, nwrite, buf->data()); in Write()
551 net_log_.EndEventWithNetErrorCode(NetLog::TYPE_TCP_CONNECT, net_error); in LogConnectCompletion()
562 net_log_.EndEventWithNetErrorCode(NetLog::TYPE_TCP_CONNECT, rv); in LogConnectCompletion()
[all …]
Dtcp_client_socket_win.cc224 net_log_(BoundNetLog::Make(net_log, NetLog::SOURCE_SOCKET)), in TCPClientSocketWin()
229 net_log_.BeginEvent(NetLog::TYPE_SOCKET_ALIVE, params); in TCPClientSocketWin()
235 net_log_.EndEvent(NetLog::TYPE_SOCKET_ALIVE, NULL); in ~TCPClientSocketWin()
266 net_log_.BeginEvent(NetLog::TYPE_TCP_CONNECT, in Connect()
321 net_log_.BeginEvent(NetLog::TYPE_TCP_CONNECT_ATTEMPT, in DoConnect()
377 net_log_.EndEvent(NetLog::TYPE_TCP_CONNECT_ATTEMPT, params); in DoConnectComplete()
548 LogByteTransfer(net_log_, NetLog::TYPE_SOCKET_BYTES_RECEIVED, num, in Read()
600 LogByteTransfer(net_log_, NetLog::TYPE_SOCKET_BYTES_SENT, rv, in Write()
715 net_log_.EndEventWithNetErrorCode(NetLog::TYPE_TCP_CONNECT, net_error); in LogConnectCompletion()
727 net_log_.EndEventWithNetErrorCode(NetLog::TYPE_TCP_CONNECT, rv); in LogConnectCompletion()
[all …]
Dssl_client_socket_nss.cc494 net_log_(transport_socket->socket()->NetLog()), in SSLClientSocketNSS()
611 net_log_.BeginEvent(NetLog::TYPE_SSL_CONNECT, NULL); in Connect()
615 net_log_.EndEventWithNetErrorCode(NetLog::TYPE_SSL_CONNECT, rv); in Connect()
621 net_log_.EndEventWithNetErrorCode(NetLog::TYPE_SSL_CONNECT, rv); in Connect()
630 net_log_.EndEventWithNetErrorCode(NetLog::TYPE_SSL_CONNECT, rv); in Connect()
641 net_log_.EndEventWithNetErrorCode(NetLog::TYPE_SSL_CONNECT, rv); in Connect()
731 return net_log_; in NetLog()
861 LogFailedNSSFunction(net_log_, "SSL_ImportFD", ""); in InitializeSSLOptions()
870 LogFailedNSSFunction(net_log_, "SSL_OptionSet", "SSL_SECURITY"); in InitializeSSLOptions()
876 LogFailedNSSFunction(net_log_, "SSL_OptionSet", "SSL_ENABLE_SSL2"); in InitializeSSLOptions()
[all …]
Dsocks_client_socket.cc70 net_log_(transport_socket->socket()->NetLog()) { in SOCKSClientSocket()
86 net_log_(transport_socket->NetLog()) { in SOCKSClientSocket()
115 net_log_.BeginEvent(NetLog::TYPE_SOCKS_CONNECT, NULL); in Connect()
121 net_log_.EndEventWithNetErrorCode(NetLog::TYPE_SOCKS_CONNECT, rv); in Connect()
146 return net_log_; in NetLog()
228 net_log_.EndEventWithNetErrorCode(NetLog::TYPE_SOCKS_CONNECT, rv); in OnIOComplete()
276 host_request_info_, &addresses_, &io_callback_, net_log_); in DoResolveHost()
/external/chromium/chrome/browser/net/
Dchrome_net_log.cc19 : net_log_(NULL), in ThreadSafeObserver()
24 DCHECK(!net_log_); in ~ThreadSafeObserver()
32 if (net_log_) in AssertNetLogLockAcquired()
33 net_log_->lock_.AssertAcquired(); in AssertNetLogLockAcquired()
38 DCHECK(net_log_); in SetLogLevel()
39 base::AutoLock lock(net_log_->lock_); in SetLogLevel()
41 net_log_->UpdateLogLevel_(); in SetLogLevel()
112 DCHECK_EQ(observer->net_log_, this); in RemoveObserver()
113 observer->net_log_ = NULL; in RemoveObserver()
150 DCHECK(!observer->net_log_); in AddObserverWhileLockHeld()
[all …]
/external/chromium/net/proxy/
Dinit_proxy_resolver.cc43 net_log_(BoundNetLog::Make( in InitProxyResolver()
61 net_log_.BeginEvent(NetLog::TYPE_INIT_PROXY_RESOLVER, NULL); in Init()
158 net_log_.BeginEvent(NetLog::TYPE_INIT_PROXY_RESOLVER_WAIT, NULL); in DoWait()
165 net_log_.EndEventWithNetErrorCode(NetLog::TYPE_INIT_PROXY_RESOLVER_WAIT, in DoWaitComplete()
182 net_log_.BeginEvent( in DoFetchPacScript()
188 net_log_.AddEvent(NetLog::TYPE_INIT_PROXY_RESOLVER_HAS_NO_FETCHER, NULL); in DoFetchPacScript()
200 net_log_.EndEventWithNetErrorCode( in DoFetchPacScriptComplete()
210 net_log_.BeginEvent(NetLog::TYPE_INIT_PROXY_RESOLVER_SET_PAC_SCRIPT, NULL); in DoSetPacScript()
230 net_log_.EndEventWithNetErrorCode( in DoSetPacScriptComplete()
263 net_log_.AddEvent( in TryToFallbackPacUrl()
[all …]
Dproxy_service.cc178 net_log_(net_log) { in ProxyResolverFactoryForV8()
188 ProxyResolverJSBindings::CreateDefault(sync_host_resolver, net_log_); in CreateProxyResolver()
197 NetLog* net_log_; member in net::__anonf494e7d50111::ProxyResolverFactoryForV8
273 net_log_(net_log) { in PacRequest()
287 url_, results_, &io_callback_, &resolve_job_, net_log_); in Start()
312 net_log_.AddEvent(NetLog::TYPE_CANCELLED, NULL); in Cancel()
322 net_log_.EndEvent(NetLog::TYPE_PROXY_SERVICE, NULL); in Cancel()
341 return service_->DidFinishResolvingProxy(results_, result_code, net_log_); in QueryDidComplete()
344 BoundNetLog* net_log() { return &net_log_; } in net_log()
375 BoundNetLog net_log_; member in net::ProxyService::PacRequest
[all …]
Dmulti_threaded_proxy_resolver.cc227 net_log_(net_log), in GetProxyForURLJob()
233 BoundNetLog* net_log() { return &net_log_; } in net_log()
237 net_log_.BeginEvent( in WaitingForThread()
245 net_log_.EndEvent( in FinishedWaitingForThread()
249 net_log_.AddEvent( in FinishedWaitingForThread()
259 url_, &results_buf_, NULL, NULL, net_log_); in Run()
284 BoundNetLog net_log_; member in net::MultiThreadedProxyResolver::GetProxyForURLJob
/external/chromium/net/base/
Dnet_log.cc115 if (net_log_) { in AddEntry()
116 net_log_->AddEntry(type, base::TimeTicks::Now(), source_, phase, params); in AddEntry()
125 if (net_log_) { in AddEntryWithTime()
126 net_log_->AddEntry(type, time, source_, phase, params); in AddEntryWithTime()
161 if (net_log_) in GetLogLevel()
162 return net_log_->GetLogLevel(); in GetLogLevel()
215 : net_log_(net_log), in ScopedNetLogEvent()
217 net_log_.BeginEvent(event_type, params); in ScopedNetLogEvent()
221 net_log_.EndEvent(event_type_, end_event_params_); in ~ScopedNetLogEvent()
231 return net_log_; in net_log()
Dnet_log.h168 BoundNetLog() : net_log_(NULL) {} in BoundNetLog()
171 : source_(source), net_log_(net_log) { in BoundNetLog()
216 NetLog* net_log() const { return net_log_; } in net_log()
220 NetLog* net_log_; variable
299 BoundNetLog net_log_;
/external/chromium/net/http/
Dhttp_proxy_client_socket.cc52 net_log_(transport_socket->socket()->NetLog()) { in HttpProxyClientSocket()
142 return net_log_; in NetLog()
265 int rv = auth_->HandleAuthChallenge(response_.headers, false, true, net_log_); in HandleAuthChallenge()
315 net_log_.BeginEvent( in DoLoop()
321 net_log_.EndEventWithNetErrorCode( in DoLoop()
326 net_log_.BeginEvent( in DoLoop()
332 net_log_.EndEventWithNetErrorCode( in DoLoop()
363 return auth_->MaybeGenerateAuthToken(&request_, &io_callback_, net_log_); in DoGenerateAuthToken()
385 if (net_log_.IsLoggingAllEvents()) { in DoSendRequest()
386 net_log_.AddEvent( in DoSendRequest()
[all …]
Dhttp_cache_transaction.cc210 return net_log_; in net_log()
576 net_log_.BeginEvent(NetLog::TYPE_HTTP_CACHE_GET_BACKEND, NULL); in DoGetBackend()
582 net_log_.EndEventWithNetErrorCode(NetLog::TYPE_HTTP_CACHE_GET_BACKEND, in DoGetBackendComplete()
636 rv = network_trans_->Start(request_, &io_callback_, net_log_); in DoSendRequest()
752 net_log_.BeginEvent(NetLog::TYPE_HTTP_CACHE_OPEN_ENTRY, NULL); in DoOpenEntry()
760 net_log_.EndEventWithNetErrorCode(NetLog::TYPE_HTTP_CACHE_OPEN_ENTRY, result); in DoOpenEntryComplete()
795 net_log_.BeginEvent(NetLog::TYPE_HTTP_CACHE_CREATE_ENTRY, NULL); in DoCreateEntry()
803 net_log_.EndEventWithNetErrorCode(NetLog::TYPE_HTTP_CACHE_CREATE_ENTRY, in DoCreateEntryComplete()
830 net_log_.BeginEvent(NetLog::TYPE_HTTP_CACHE_DOOM_ENTRY, NULL); in DoDoomEntry()
835 net_log_.EndEventWithNetErrorCode(NetLog::TYPE_HTTP_CACHE_DOOM_ENTRY, result); in DoDoomEntryComplete()
[all …]
Dhttp_stream_factory_impl_job.cc45 net_log_(BoundNetLog::Make(net_log.net_log(), in Job()
70 net_log_.EndEvent(NetLog::TYPE_HTTP_STREAM_JOB, NULL); in ~Job()
195 net_log_.source()); in OnStreamReadyCallback()
211 was_npn_negotiated(), using_spdy(), net_log_.source()); in OnSpdySessionReadyCallback()
277 proxy_info_, was_npn_negotiated(), using_spdy(), net_log_.source()); in OnPreconnectsComplete()
443 net_log_.BeginEvent(NetLog::TYPE_HTTP_STREAM_JOB, in StartInternal()
467 net_log_); in DoResolveProxy()
586 net_log_, in DoInitConnection()
597 net_log_, in DoInitConnection()
748 spdy_session = spdy_pool->Get(pair, net_log_); in DoCreateStream()
[all …]
Dhttp_network_transaction.cc161 net_log_ = net_log; in Start()
527 net_log_.BeginEvent(NetLog::TYPE_HTTP_TRANSACTION_SEND_REQUEST, NULL); in DoLoop()
539 net_log_.EndEventWithNetErrorCode( in DoLoop()
544 net_log_.BeginEvent(NetLog::TYPE_HTTP_TRANSACTION_READ_HEADERS, NULL); in DoLoop()
549 net_log_.EndEventWithNetErrorCode( in DoLoop()
554 net_log_.BeginEvent(NetLog::TYPE_HTTP_TRANSACTION_READ_BODY, NULL); in DoLoop()
559 net_log_.EndEventWithNetErrorCode( in DoLoop()
564 net_log_.BeginEvent( in DoLoop()
570 net_log_.EndEventWithNetErrorCode( in DoLoop()
591 net_log_)); in DoCreateStream()
[all …]
Dhttp_auth_handler.cc35 net_log_ = net_log; in InitFromChallenge()
77 net_log_.BeginEvent(EventTypeFromAuthTarget(target_), NULL); in GenerateAuthToken()
102 net_log_.EndEvent(EventTypeFromAuthTarget(target_), NULL); in FinishGenerateAuthToken()
/external/chromium/net/spdy/
Dspdy_proxy_client_socket.cc48 net_log_(spdy_stream->net_log()) { in SpdyProxyClientSocket()
131 return net_log_; in NetLog()
290 net_log_.BeginEvent( in DoLoop()
295 net_log_.EndEventWithNetErrorCode( in DoLoop()
301 net_log_.EndEventWithNetErrorCode( in DoLoop()
316 return auth_->MaybeGenerateAuthToken(&request_, &io_callback_, net_log_); in DoGenerateAuthToken()
339 if (net_log_.IsLoggingAllEvents()) { in DoSendRequest()
340 net_log_.AddEvent( in DoSendRequest()
379 if (net_log_.IsLoggingAllEvents()) { in DoReadReplyComplete()
380 net_log_.AddEvent( in DoReadReplyComplete()
/external/chromium/chrome/browser/
Dio_thread.cc176 : net_log_(net_log) { in LoggingNetworkChangeObserver()
187 net_log_->AddEntry(net::NetLog::TYPE_NETWORK_IP_ADDRESSES_CHANGED, in OnIPAddressChanged()
195 net::NetLog* net_log_; member in __anon2304ee2b0111::LoggingNetworkChangeObserver
297 net_log_(net_log), in IOThread()
334 return net_log_; in net_log()
429 new LoggingNetworkChangeObserver(net_log_)); in Init()
439 CreateGlobalHostResolver(net_log_)); in Init()
449 net::ProxyService::CreateDirectWithNetLog(net_log_); in Init()
458 session_params.net_log = net_log_; in Init()
468 ConstructProxyScriptFetcherContext(globals_, net_log_); in Init()
[all …]
/external/chromium/net/url_request/
Durl_request.cc373 net_log_.BeginEvent(NetLog::TYPE_URL_REQUEST_BLOCKED_ON_EXTENSION, NULL); in Start()
387 net_log_.EndEvent(NetLog::TYPE_URL_REQUEST_BLOCKED_ON_EXTENSION, NULL); in BeforeRequestComplete()
407 net_log_.BeginEvent( in StartJob()
520 net_log_.EndEvent(NetLog::TYPE_URL_REQUEST_START_JOB, params); in ResponseStarted()
572 net_log_.EndEvent(NetLog::TYPE_URL_REQUEST_START_JOB, NULL); in PrepareToRestart()
589 if (net_log_.IsLoggingAllEvents()) { in Redirect()
590 net_log_.AddEvent( in Redirect()
656 net_log_.EndEvent(NetLog::TYPE_REQUEST_ALIVE, NULL); in set_context()
657 net_log_ = BoundNetLog(); in set_context()
660 net_log_ = BoundNetLog::Make(context->net_log(), in set_context()
[all …]
/external/chromium/net/socket_stream/
Dsocket_stream.cc109 net_log_.EndEvent(NetLog::TYPE_REQUEST_ALIVE, NULL); in set_context()
110 net_log_ = BoundNetLog(); in set_context()
113 net_log_ = BoundNetLog::Make( in set_context()
117 net_log_.BeginEvent(NetLog::TYPE_REQUEST_ALIVE, NULL); in set_context()
141 net_log_.BeginEvent( in Connect()
231 net_log_.AddEvent(NetLog::TYPE_CANCELLED, NULL); in DetachDelegate()
308 net_log_.EndEvent(NetLog::TYPE_SOCKET_STREAM_CONNECT, NULL); in DidEstablishConnection()
318 net_log_.AddEvent(NetLog::TYPE_SOCKET_STREAM_RECEIVED, NULL); in DidReceiveData()
331 net_log_.AddEvent(NetLog::TYPE_SOCKET_STREAM_SENT, NULL); in DidSendData()
458 net_log_.EndEventWithNetErrorCode( in DoLoop()
[all …]

12345