Home
last modified time | relevance | path

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

/external/chromium_org/net/dns/
Ddns_session.cc37 struct DnsSession::ServerStats {
65 base::LazyInstance<DnsSession::RttBuckets>::Leaky DnsSession::rtt_buckets_ =
68 DnsSession::RttBuckets::RttBuckets() : base::BucketRanges(kRTTBucketCount + 1) { in RttBuckets()
72 DnsSession::SocketLease::SocketLease(scoped_refptr<DnsSession> session, in SocketLease()
77 DnsSession::SocketLease::~SocketLease() { in ~SocketLease()
81 DnsSession::DnsSession(const DnsConfig& config, in DnsSession() function in net::DnsSession
99 DnsSession::~DnsSession() { in ~DnsSession()
103 int DnsSession::NextQueryId() const { return rand_callback_.Run(); } in NextQueryId()
105 unsigned DnsSession::NextFirstServerIndex() { in NextFirstServerIndex()
112 unsigned DnsSession::NextGoodServerIndex(unsigned server_index) { in NextGoodServerIndex()
[all …]
Ddns_session.h36 class NET_EXPORT_PRIVATE DnsSession
37 : NON_EXPORTED_BASE(public base::RefCounted<DnsSession>) { in NON_EXPORTED_BASE() argument
43 SocketLease(scoped_refptr<DnsSession> session, in NON_EXPORTED_BASE()
53 scoped_refptr<DnsSession> session_; in NON_EXPORTED_BASE()
60 DnsSession(const DnsConfig& config, in NON_EXPORTED_BASE()
110 friend class base::RefCounted<DnsSession>; in NON_EXPORTED_BASE()
111 ~DnsSession(); in NON_EXPORTED_BASE()
142 DISALLOW_COPY_AND_ASSIGN(DnsSession); in NON_EXPORTED_BASE()
Ddns_session_unittest.cc71 scoped_ptr<DnsSession::SocketLease> Allocate(unsigned server_index);
78 scoped_refptr<DnsSession> session_;
132 session_ = new DnsSession(config_, in Initialize()
140 scoped_ptr<DnsSession::SocketLease> DnsSessionTest::Allocate( in Allocate()
205 scoped_ptr<DnsSession::SocketLease> lease1, lease2; in TEST_F()
Ddns_transaction.h19 class DnsSession; variable
72 DnsSession* session) WARN_UNUSED_RESULT;
Ddns_client.cc35 session_ = new DnsSession(config, in SetConfig()
56 scoped_refptr<DnsSession> session_;
Ddns_transaction.cc135 scoped_ptr<DnsSession::SocketLease> socket_lease, in DnsUDPAttempt()
286 scoped_ptr<DnsSession::SocketLease> socket_lease_;
550 DnsTransactionImpl(DnsSession* session, in DnsTransactionImpl()
713 scoped_ptr<DnsSession::SocketLease> lease = in MakeAttempt()
935 scoped_refptr<DnsSession> session_;
967 explicit DnsTransactionFactoryImpl(DnsSession* session) { in DnsTransactionFactoryImpl()
981 scoped_refptr<DnsSession> session_;
988 DnsSession* session) { in CreateFactory()
Ddns_transaction_unittest.cc353 session_ = new DnsSession( in ConfigureFactory()
477 scoped_refptr<DnsSession> session_;