Home | History | Annotate | Download | only in base

Lines Matching refs:hostname

22 // Builds a key for |hostname|, defaulting the address family to unspecified.
23 HostCache::Key Key(const std::string& hostname) {
24 return HostCache::Key(hostname, ADDRESS_FAMILY_UNSPECIFIED, 0);
182 std::string hostname = base::StringPrintf("valid%d", i);
183 cache.Set(Key(hostname), OK, AddressList(), now);
189 std::string hostname = base::StringPrintf("expired%d", i);
191 cache.Set(Key(hostname), OK, AddressList(), t);
197 std::string hostname = base::StringPrintf("negative%d", i);
198 cache.Set(Key(hostname), ERR_NAME_NOT_RESOLVED, AddressList(), now);
272 // Tests that the same hostname can be duplicated in the cache, so long as
307 // Tests that the same hostname can be duplicated in the cache, so long as