Searched refs:id_hash (Results 1 – 4 of 4) sorted by relevance
27 const std::string id_hash = base::SHA1HashString(host); in HashHost() local28 DCHECK_EQ(id_hash.length(), base::kSHA1Length); in HashHost()29 return base::HexEncode(id_hash.c_str(), id_hash.length()); in HashHost()
46 const std::string id_hash = in HashPrefix() local48 DCHECK_EQ(id_hash.length(), base::kSHA1Length); in HashPrefix()49 return base::HexEncode(id_hash.c_str(), id_hash.length()); in HashPrefix()
295 std::string id_hash = base::SHA1HashString(extension.id()); in RequiresBackgroundModeForPushMessaging() local296 std::string hexencoded_id_hash = base::HexEncode(id_hash.c_str(), in RequiresBackgroundModeForPushMessaging()297 id_hash.length()); in RequiresBackgroundModeForPushMessaging()
246 const std::string id_hash = base::SHA1HashString(extension_id); in HashExtensionId() local247 DCHECK(id_hash.length() == base::kSHA1Length); in HashExtensionId()248 return base::HexEncode(id_hash.c_str(), id_hash.length()); in HashExtensionId()