Make ToIntegralType() behavior configurable.
Introduce NumberParsingOptions, which is a set of parsing behavior flags, and CharactersToFoo{,Strict}() pass options to ToIntegralType(). This CL has no behavior changes. This CL is a preparation to merge CharactersToFoo and CharactersToFooStrict. Bug: 746157 Change-Id: I34d001bb193928288b99afcd0d531536105ce7e0 Reviewed-on: https://chromium-review.googlesource.com/580170Reviewed-by:Takayoshi Kochi <kochi@chromium.org> Commit-Queue: Kent Tamura <tkent@chromium.org> Cr-Commit-Position: refs/heads/master@{#488581}
Showing
Please register or sign in to comment