Index: components/proximity_auth/cryptauth/cryptauth_enrollment_utils.h |
diff --git a/components/proximity_auth/cryptauth/cryptauth_enrollment_utils.h b/components/proximity_auth/cryptauth/cryptauth_enrollment_utils.h |
index 0bebd1a2b1123dc25cef21e7a5571627267b8795..e0df1f9a9c26361f3da8a28710d158010df6efd3 100644 |
--- a/components/proximity_auth/cryptauth/cryptauth_enrollment_utils.h |
+++ b/components/proximity_auth/cryptauth/cryptauth_enrollment_utils.h |
@@ -13,6 +13,10 @@ namespace proximity_auth { |
std::string CalculateDeviceUserId(const std::string& device_id, |
const std::string& user_id); |
+// Hashes |string| to an int64 value. These int64 hashes are used to fill the |
+// GcmDeviceInfo proto to upload to CryptAuth. |
+int64_t HashStringToInt64(const std::string& string); |
+ |
} // namespace proximity_auth |
#endif // COMPONENTS_PROXIMITY_AUTH_CRYPT_AUTH_ENROLLMENT_UTILS_H |