OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:HostCache
(Results
1 - 15
of
15
) sorted by null
/external/chromium_org/net/dns/
host_cache.cc
17
HostCache
::Entry::Entry(int error, const AddressList& addrlist,
25
HostCache
::Entry::Entry(int error, const AddressList& addrlist)
31
HostCache
::Entry::~Entry() {
36
HostCache
::
HostCache
(size_t max_entries)
40
HostCache
::~
HostCache
() {
43
const
HostCache
::Entry*
HostCache
::Lookup(const Key& key,
52
void
HostCache
::Set(const Key& key
[
all
...]
host_cache_unittest.cc
21
HostCache
::Key Key(const std::string& hostname) {
22
return
HostCache
::Key(hostname, ADDRESS_FAMILY_UNSPECIFIED, 0);
30
HostCache
cache(kMaxCacheEntries);
35
HostCache
::Key key1 = Key("foobar.com");
36
HostCache
::Key key2 = Key("foobar2.com");
37
HostCache
::Entry entry =
HostCache
::Entry(OK, AddressList());
94
HostCache
cache(kMaxCacheEntries);
99
HostCache
::Key key1 = Key("foobar.com");
100
HostCache
::Key key2 = Key("foobar2.com")
[
all
...]
host_cache.h
23
class NET_EXPORT
HostCache
: NON_EXPORTED_BASE(public base::NonThreadSafe) {
76
// Constructs a
HostCache
that stores up to |max_entries|.
77
explicit
HostCache
(size_t max_entries);
79
~
HostCache
();
105
static scoped_ptr<
HostCache
> CreateDefaultCache();
110
// Returns true if this
HostCache
can contain no entries.
119
DISALLOW_COPY_AND_ASSIGN(
HostCache
);
host_resolver_impl.h
102
//
HostCache
::CreateDefaultCache(). Otherwise no cache is used.
140
virtual
HostCache
* GetHostCache() OVERRIDE;
154
typedef
HostCache
::Key Key;
203
const
HostCache
::Entry& entry,
243
scoped_ptr<
HostCache
> cache_;
245
// Map from
HostCache
::Key to a Job.
mapped_host_resolver.h
59
virtual
HostCache
* GetHostCache() OVERRIDE;
host_resolver.h
27
class
HostCache
;
48
// |enable_caching| controls whether a
HostCache
is used.
181
virtual
HostCache
* GetHostCache();
mock_host_resolver.h
19
class
HostCache
;
87
virtual
HostCache
* GetHostCache() OVERRIDE;
134
scoped_ptr<
HostCache
> cache_;
mapped_host_resolver.cc
54
HostCache
* MappedHostResolver::GetHostCache() {
mock_host_resolver.cc
125
HostCache
* MockHostResolverBase::GetHostCache() {
150
cache_.reset(new
HostCache
(kMaxCacheEntries));
171
HostCache
::Key key(info.hostname(),
174
const
HostCache
::Entry* entry = cache_->Lookup(key, base::TimeTicks::Now());
194
HostCache
::Key key(info.hostname(),
201
cache_->Set(key,
HostCache
::Entry(rv, addr), base::TimeTicks::Now(), ttl);
host_resolver.cc
110
HostCache
* HostResolver::GetHostCache() {
host_resolver_impl.cc
[
all
...]
/external/chromium_org/chrome/browser/ui/webui/net_internals/
net_internals_ui_browsertest.cc
57
net::
HostCache
* cache = context->host_resolver()->GetHostCache();
60
net::
HostCache
::Key key(hostname, net::ADDRESS_FAMILY_UNSPECIFIED, 0);
74
cache->Set(net::
HostCache
::Key(hostname, net::ADDRESS_FAMILY_UNSPECIFIED, 0),
75
net::
HostCache
::Entry(net_error, address_list),
net_internals_ui.cc
111
// Returns the
HostCache
for |context|'s primary HostResolver, or NULL if
113
net::
HostCache
* GetHostResolverCache(net::URLRequestContext* context) {
[
all
...]
/external/chromium_org/chrome/browser/
chrome_net_benchmarking_message_filter.cc
94
net::
HostCache
* cache =
io_thread.cc
[
all
...]
Completed in 104 milliseconds