Searched refs:origins_by_host (Results 1 – 2 of 2) sorted by relevance
28 bool EraseOriginFromOriginSet(OriginSetByHost* origins_by_host, in EraseOriginFromOriginSet() argument31 auto it = origins_by_host->find(host); in EraseOriginFromOriginSet()32 if (it == origins_by_host->end()) in EraseOriginFromOriginSet()39 origins_by_host->erase(host); in EraseOriginFromOriginSet()233 std::map<std::string, std::vector<url::Origin>> origins_by_host; in DidGetOriginsForGlobalUsage() local235 origins_by_host[origin.host()].push_back(origin); in DidGetOriginsForGlobalUsage()243 info->pending_jobs = origins_by_host.size() + 1; in DidGetOriginsForGlobalUsage()248 for (const auto& host_and_origins : origins_by_host) { in DidGetOriginsForGlobalUsage()
30 bool EraseOriginFromOriginSet(OriginSetByHost* origins_by_host, in EraseOriginFromOriginSet() argument33 auto found = origins_by_host->find(host); in EraseOriginFromOriginSet()34 if (found == origins_by_host->end()) in EraseOriginFromOriginSet()41 origins_by_host->erase(host); in EraseOriginFromOriginSet()276 OriginSetByHost origins_by_host; in DidGetOriginsForGlobalUsage() local279 origins_by_host[net::GetHostOrSpecFromURL(origin_url)].insert(origin); in DidGetOriginsForGlobalUsage()288 info->pending_jobs = origins_by_host.size() + 1; in DidGetOriginsForGlobalUsage()293 for (const auto& host_and_origins : origins_by_host) { in DidGetOriginsForGlobalUsage()