Home
last modified time | relevance | path

Searched refs:session_handle_ (Results 1 – 8 of 8) sorted by relevance

/external/chromium/net/proxy/
Dproxy_resolver_winhttp.cc32 : ProxyResolver(false /*expects_pac_bytes*/), session_handle_(NULL) { in ProxyResolverWinHttp()
45 if (!session_handle_ && !OpenWinHttpSession()) in GetProxyForURL()
61 DCHECK(session_handle_); in GetProxyForURL()
69 session_handle_, ASCIIToWide(query_url.spec()).c_str(), &options, &info); in GetProxyForURL()
74 session_handle_, ASCIIToWide(query_url.spec()).c_str(), in GetProxyForURL()
143 DCHECK(!session_handle_); in OpenWinHttpSession()
144 session_handle_ = WinHttpOpen(NULL, in OpenWinHttpSession()
149 if (!session_handle_) in OpenWinHttpSession()
156 BOOL rv = WinHttpSetTimeouts(session_handle_, 10000, 10000, 5000, 5000); in OpenWinHttpSession()
163 if (session_handle_) { in CloseWinHttpSession()
[all …]
Dproxy_resolver_winhttp.h42 HINTERNET session_handle_; variable
/external/chromium_org/net/proxy/
Dproxy_resolver_winhttp.cc32 : ProxyResolver(false /*expects_pac_bytes*/), session_handle_(NULL) { in ProxyResolverWinHttp()
45 if (!session_handle_ && !OpenWinHttpSession()) in GetProxyForURL()
61 DCHECK(session_handle_); in GetProxyForURL()
69 session_handle_, ASCIIToWide(query_url.spec()).c_str(), &options, &info); in GetProxyForURL()
74 session_handle_, ASCIIToWide(query_url.spec()).c_str(), in GetProxyForURL()
147 DCHECK(!session_handle_); in OpenWinHttpSession()
148 session_handle_ = WinHttpOpen(NULL, in OpenWinHttpSession()
153 if (!session_handle_) in OpenWinHttpSession()
160 BOOL rv = WinHttpSetTimeouts(session_handle_, 10000, 10000, 5000, 5000); in OpenWinHttpSession()
167 if (session_handle_) { in CloseWinHttpSession()
[all …]
Dproxy_resolver_winhttp.h44 HINTERNET session_handle_; variable
/external/chromium_org/base/win/
Devent_trace_provider.cc19 session_handle_(NULL), enable_flags_(0), enable_level_(0) { in EtwTraceProvider()
24 session_handle_(NULL), enable_flags_(0), enable_level_(0) { in EtwTraceProvider()
32 session_handle_ = ::GetTraceLoggerHandle(buffer); in EnableEvents()
33 if (NULL == session_handle_) { in EnableEvents()
37 enable_flags_ = ::GetTraceEnableFlags(session_handle_); in EnableEvents()
38 enable_level_ = ::GetTraceEnableLevel(session_handle_); in EnableEvents()
52 session_handle_ = NULL; in DisableEvents()
88 if (session_handle_ != NULL) in Unregister()
100 if (NULL == session_handle_ || enable_level_ < level) in Log()
109 return ::TraceEvent(session_handle_, &event.header); in Log()
[all …]
Devent_trace_provider.h115 TRACEHANDLE session_handle() const { return session_handle_; } in session_handle()
123 return NULL != session_handle_ && level >= enable_level_ && in ShouldLog()
166 TRACEHANDLE session_handle_; variable
/external/chromium/base/win/
Devent_trace_provider.cc19 session_handle_(NULL), enable_flags_(0), enable_level_(0) { in EtwTraceProvider()
24 session_handle_(NULL), enable_flags_(0), enable_level_(0) { in EtwTraceProvider()
32 session_handle_ = ::GetTraceLoggerHandle(buffer); in EnableEvents()
33 if (NULL == session_handle_) { in EnableEvents()
37 enable_flags_ = ::GetTraceEnableFlags(session_handle_); in EnableEvents()
38 enable_level_ = ::GetTraceEnableLevel(session_handle_); in EnableEvents()
52 session_handle_ = NULL; in DisableEvents()
92 session_handle_ = NULL; in Unregister()
100 if (NULL == session_handle_ || enable_level_ < level) in Log()
109 return ::TraceEvent(session_handle_, &event.header); in Log()
[all …]
Devent_trace_provider.h111 TRACEHANDLE session_handle() const { return session_handle_; } in session_handle()
119 return NULL != session_handle_ && level >= enable_level_ && in ShouldLog()
162 TRACEHANDLE session_handle_; variable