Add HexToUint64 parsing for wtf_string
This adds a util to parse a hex string to uint64. This is necessary for the ConversionMeasurement API, as the impression data attribute is a 64-bit identifier provided as a hex string. Link to explainer: https://github.com/WICG/conversion-measurement-api#impression-declaration Usage of this is included on https://crrev.com/c/2012883 in html_anchor_element.cc Change-Id: I18aeef488477a83dbcb31351fd9179f4957f5f5a Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2123811Reviewed-by:Nico Weber <thakis@chromium.org> Commit-Queue: John Delaney <johnidel@chromium.org> Cr-Commit-Position: refs/heads/master@{#754515}
Showing
Please register or sign in to comment