Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(27)

Unified Diff: webrtc/base/helpers.h

Issue 1413713003: Adding the ability to create an RtpSender without a track. (Closed) Base URL: https://chromium.googlesource.com/external/webrtc.git@master
Patch Set: Adding some unit tests for new methods on the sender. Created 5 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: webrtc/base/helpers.h
diff --git a/webrtc/base/helpers.h b/webrtc/base/helpers.h
index 102c08bd0dbc6150070326700073dd051da5fca3..0e7937362a334c7cc29bc9a3ff203c1f7fec647c 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();
pthatcher1 2015/10/20 17:42:50 Why did you choose to use a UUID? Is that part of
Taylor Brandstetter 2015/10/21 00:22:09 It's "recommended", and it's what Chrome currently
+
// Generates a random id.
uint32_t CreateRandomId();

Powered by Google App Engine
This is Rietveld 408576698