Lines Matching defs:realm
79 // Performance: O(n), where n is the number of realm entries.
81 const std::string& realm,
86 // Linear scan through the realm entries.
89 if (it->origin() == origin && it->realm() == realm &&
97 return NULL; // No realm entry found.
100 // Performance: O(n*m), where n is the number of realm entries, m is the number
101 // of path entries per realm. Both n amd m are expected to be small; m is
118 // Linear scan through the realm entries.
136 const std::string& realm,
147 HttpAuthCache::Entry* entry = Lookup(origin, realm, scheme);
165 entry->realm_ = realm;
170 DCHECK_EQ(realm, entry->realm_);
236 const std::string& realm,
240 if (it->origin() == origin && it->realm() == realm &&
257 const std::string& realm,
260 HttpAuthCache::Entry* entry = Lookup(origin, realm, scheme);
273 Entry* entry = Add(it->origin(), it->realm(), it->scheme(),