Home | History | Annotate | Download | only in http

Lines Matching refs:origin

42 // Debug helper to check that |origin| arguments are properly formed.
43 void CheckOriginIsValid(const GURL& origin) {
44 DCHECK(origin.is_valid());
45 DCHECK(origin.SchemeIs("http") || origin.SchemeIs("https"));
46 DCHECK(origin.GetOrigin() == origin);
69 HttpAuthCache::Entry* HttpAuthCache::Lookup(const GURL& origin,
72 CheckOriginIsValid(origin);
76 if (it->origin() == origin && it->realm() == realm &&
86 HttpAuthCache::Entry* HttpAuthCache::LookupByPath(const GURL& origin,
90 CheckOriginIsValid(origin);
102 if (it->origin() == origin && it->HasEnclosingPath(parent_dir, &len) &&
111 HttpAuthCache::Entry* HttpAuthCache::Add(const GURL& origin,
118 CheckOriginIsValid(origin);
122 HttpAuthCache::Entry* entry = Lookup(origin, realm, scheme);
132 entry->origin_ = origin;
136 DCHECK_EQ(origin, entry->origin_);
171 LOG(WARNING) << "Num path entries for " << origin()
199 bool HttpAuthCache::Remove(const GURL& origin,
205 if (it->origin() == origin && it->realm() == realm &&
217 bool HttpAuthCache::UpdateStaleChallenge(const GURL& origin,
221 HttpAuthCache::Entry* entry = Lookup(origin, realm, scheme);