DescriptionRefactor hex parsing in SpdyAltSvcWireFormat.
base/strings/string_util.h is not available in the internal codebase (and nor is
net/base/parse_number.h). This CL changes SpdyAltSvcWireFormat to use std::isxdigit()
instead of base::IsHexDigit(), which is identical. It refactors base::HexDigitToInt()
into spdy/platform/, so that the internal code can roll its own implementation. This
makes spdy_alt_svc_wire_format.cc almost byte-to-byte identical between the two
codebases.
This CL lands server side change 151758530 by bnc.
BUG=488484
Review-Url: https://codereview.chromium.org/2785123003
Cr-Commit-Position: refs/heads/master@{#461117}
Committed: https://chromium.googlesource.com/chromium/src/+/fb576715612dc3343c188f0b76661f169021e5dd
Patch Set 1 #
Total comments: 1
Patch Set 2 : Factor out HexDigitToInt into spdy/platform/. #Patch Set 3 : Nit. #
Messages
Total messages: 22 (17 generated)
|