DescriptionMake GUID generation on POSIX compliant with GUID v4 format.
Per RFC 4122 section 4.4, the format of GUID version 4 must be
xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx, where y is one of [8, 9, A, B].
This CL updates base::GenerateGUID() on POSIX to be compliant with the
GUID v4 format.
This fix is proposed by Alex Vakulenko <avakulenko@chromium.org>
BUG=None
TEST=base_unittests
Committed: https://crrev.com/87119864277bb405bf1303d98691f5acd5add403
Cr-Commit-Position: refs/heads/master@{#293518}
Patch Set 1 #
Messages
Total messages: 7 (2 generated)
|