Lines Matching refs:UnguessableToken
21 // A UnguessableToken is an 128-bit token generated from a cryptographically
24 // UnguessableToken should be used when a sensitive ID needs to be unguessable,
34 class BASE_EXPORT UnguessableToken {
36 // Create a unique UnguessableToken.
37 static UnguessableToken Create();
39 // Return a UnguessableToken built from the high/low bytes provided.
44 static UnguessableToken Deserialize(uint64_t high, uint64_t low);
46 // Creates an empty UnguessableToken.
48 constexpr UnguessableToken() = default;
50 // NOTE: Serializing an empty UnguessableToken is an illegal operation.
56 // NOTE: Serializing an empty UnguessableToken is an illegal operation.
68 bool operator<(const UnguessableToken& other) const {
72 bool operator==(const UnguessableToken& other) const {
76 bool operator!=(const UnguessableToken& other) const {
82 UnguessableToken(uint64_t high, uint64_t low);
91 const UnguessableToken& token);
95 size_t operator()(const base::UnguessableToken& token) const {