HomeSort by relevance Sort by last modified time
    Searched refs:HostCache (Results 1 - 25 of 30) sorted by null

1 2

  /external/chromium/net/proxy/
proxy_resolver_request_context.h 11 class HostCache;
21 HostCache* host_cache)
27 HostCache* host_cache;
proxy_resolver_js_bindings.cc 231 HostCache::Key cache_key(info.hostname(),
235 HostCache* host_cache = current_request_context() ?
242 const HostCache::Entry* entry =
proxy_resolver_js_bindings_unittest.cc 264 HostCache cache(50,
  /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 112 HostResolverImpl(scoped_ptr<HostCache> cache,
146 virtual HostCache* GetHostCache() OVERRIDE;
156 typedef HostCache::Key Key;
205 const HostCache::Entry& entry,
245 scoped_ptr<HostCache> cache_;
247 // Map from HostCache::Key to a Job.
host_resolver.cc 110 HostCache* HostResolver::GetHostCache() {
121 scoped_ptr<HostCache> cache;
123 cache = HostCache::CreateDefaultCache();
mapped_host_resolver.h 59 virtual HostCache* GetHostCache() OVERRIDE;
host_resolver.h 26 class HostCache;
47 // |enable_caching| controls whether a HostCache is used.
173 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 124 HostCache* MockHostResolverBase::GetHostCache() {
149 cache_.reset(new HostCache(kMaxCacheEntries));
164 HostCache::Key key(info.hostname(),
167 const HostCache::Entry* entry = cache_->Lookup(key, base::TimeTicks::Now());
187 HostCache::Key key(info.hostname(),
194 cache_->Set(key, HostCache::Entry(rv, addr), base::TimeTicks::Now(), ttl);
host_resolver_impl.cc     [all...]
  /external/chromium/net/base/
host_cache.cc 14 HostCache::Entry::Entry(int error,
20 HostCache::Entry::~Entry() {
25 HostCache::HostCache(size_t max_entries,
33 HostCache::~HostCache() {
36 const HostCache::Entry* HostCache::Lookup(const Key& key,
53 HostCache::Entry* HostCache::Set(const Key& key
    [all...]
host_cache_unittest.cc 23 HostCache::Key Key(const std::string& hostname) {
24 return HostCache::Key(hostname, ADDRESS_FAMILY_UNSPECIFIED, 0);
30 HostCache cache(kMaxCacheEntries, kSuccessEntryTTL, kFailureEntryTTL);
35 const HostCache::Entry* entry1 = NULL; // Entry for foobar.com.
36 const HostCache::Entry* entry2 = NULL; // Entry for foobar2.com.
90 HostCache cache(kMaxCacheEntries, kSuccessEntryTTL, kFailureEntryTTL);
112 HostCache cache(kMaxCacheEntries,
119 const HostCache::Entry* entry1 = NULL; // Entry for foobar.com.
120 const HostCache::Entry* entry2 = NULL; // Entry for foobar2.com.
173 HostCache cache(kMaxCacheEntries, kSuccessEntryTTL, kFailureEntryTTL)
    [all...]
host_cache.h 22 class HostCache : public base::NonThreadSafe {
75 // Constructs a HostCache that caches successful host resolves for
78 HostCache(size_t max_entries,
82 ~HostCache();
124 // Returns true if this HostCache can contain no entries.
140 DISALLOW_COPY_AND_ASSIGN(HostCache);
host_resolver_impl.h 81 HostCache* cache,
95 HostCache* cache() { return cache_.get(); }
137 typedef HostCache::Key Key;
230 scoped_ptr<HostCache> cache_;
mock_host_resolver.cc 79 HostCache* cache = NULL;
82 cache = new HostCache(
host_resolver_impl.cc 61 HostCache* CreateDefaultCache() {
64 HostCache* cache = new HostCache(
905 HostCache* cache,
1019 const HostCache::Entry* cache_entry = cache_->Lookup
    [all...]
  /external/chromium_org/chrome/browser/
chrome_net_benchmarking_message_filter.cc 97 net::HostCache* cache =
  /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 110 // Returns the HostCache for |context|'s primary HostResolver, or NULL if
112 net::HostCache* GetHostResolverCache(net::URLRequestContext* context) {
    [all...]
  /external/chromium/chrome/browser/ui/webui/
net_internals_ui.cc 75 // Returns the HostCache for |context|'s primary HostResolver, or NULL if
77 net::HostCache* GetHostResolverCache(net::URLRequestContext* context) {
    [all...]
  /external/chromium_org/net/tools/gdig/
gdig.cc 425 HostCache::CreateDefaultCache(),

Completed in 211 milliseconds

1 2