diff options
Diffstat (limited to 'webrtc/base/helpers.h')
-rw-r--r-- | webrtc/base/helpers.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/webrtc/base/helpers.h b/webrtc/base/helpers.h index 102c08bd0d..0e7937362a 100644 --- a/webrtc/base/helpers.h +++ b/webrtc/base/helpers.h @@ -39,6 +39,9 @@ bool CreateRandomString(size_t length, std::string* str); bool CreateRandomString(size_t length, const std::string& table, std::string* str); +// Generates a (cryptographically) random UUID version 4 string. +std::string CreateRandomUuid(); + // Generates a random id. uint32_t CreateRandomId(); |