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

Unified Diff: third_party/WebKit/Source/platform/UUID.h

Issue 2388303002: reflow comments in platform/ (Closed)
Patch Set: Created 4 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: third_party/WebKit/Source/platform/UUID.h
diff --git a/third_party/WebKit/Source/platform/UUID.h b/third_party/WebKit/Source/platform/UUID.h
index 9ce544ae880d557140e34ffb537a01686fadc337..90243dd4af6acab44149464a85740514cabe836e 100644
--- a/third_party/WebKit/Source/platform/UUID.h
+++ b/third_party/WebKit/Source/platform/UUID.h
@@ -36,18 +36,22 @@
namespace blink {
-// Creates a UUID that consists of 32 hexadecimal digits and returns its canonical form.
-// The canonical form is displayed in 5 groups separated by hyphens, in the form 8-4-4-4-12 for a total of 36 characters.
+// Creates a UUID that consists of 32 hexadecimal digits and returns its
+// canonical form. The canonical form is displayed in 5 groups separated by
+// hyphens, in the form 8-4-4-4-12 for a total of 36 characters.
// The hexadecimal values "a" through "f" are output as lower case characters.
//
-// Note: for security reason, we should always generate version 4 UUID that use a scheme relying only on random numbers.
-// This algorithm sets the version number as well as two reserved bits. All other bits are set using a random or pseudorandom
-// data source. Version 4 UUIDs have the form xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx with hexadecimal digits for x and one of 8,
-// 9, A, or B for y.
+// Note: for security reason, we should always generate version 4 UUID that use
+// a scheme relying only on random numbers. This algorithm sets the version
+// number as well as two reserved bits. All other bits are set using a random or
+// pseudorandom data source. Version 4 UUIDs have the form
+// xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx with hexadecimal digits for x and one of
+// 8, 9, A, or B for y.
PLATFORM_EXPORT String createCanonicalUUIDString();
-// Check that the UUID is a valid UUID. A valid UUID is a string made out of 5 groups
-// of lower case hexadecimal characters separated by hyphens, in the form 8-4-4-4-12.
+// Check that the UUID is a valid UUID. A valid UUID is a string made out of 5
+// groups of lower case hexadecimal characters separated by hyphens, in the form
+// 8-4-4-4-12.
PLATFORM_EXPORT bool isValidUUID(const String& uuid);
} // namespace blink
« no previous file with comments | « third_party/WebKit/Source/platform/TracedValue.h ('k') | third_party/WebKit/Source/platform/UserGestureIndicator.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698