Home | History | Annotate | Download | only in browser

Lines Matching refs:domain

89 bool IsDomainSane(const std::string& domain) {
90 return !domain.empty() &&
91 domain.size() <= kStringLengthLimit &&
92 IsStringUTF8(domain) &&
93 domain.find_first_of(kItemSeparator) == std::string::npos;
142 void CreatePassport(const std::string& domain,
149 DCHECK(IsDomainSane(domain));
156 blob = domain + kItemSeparator;
203 const std::string& domain,
206 int64 tick = PreVerifyPassport(passport, domain, current_tick);
212 CreatePassport(domain, map, tick, engine_.get(), &reference_passport);
220 CreatePassport(domain, map, tick, old_engine_.get(), &reference_passport);
268 const std::string& domain,
272 !IsDomainSane(domain) ||
353 int64 GetUnusedTick(const std::string& domain) {
359 if (!IsDomainSane(domain))
399 const std::string& domain, const VarValueMap& map, int64 tick) {
402 tick = GetUnusedTick(domain);
410 CreatePassport(domain, map, tick, engine_.get(), &result);
442 const std::string& domain,
446 passport, domain, var_value_map);
468 const std::string& domain, const VarValueMap& var_value_map) {
469 return g_generation_service.Get().GeneratePassport(domain, var_value_map, 0);