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

Issue 2558643002: Remove some uses of isdigit in net/, as it can be locale depedent. (Closed)

Created:
4 years ago by mmenke
Modified:
4 years ago
Reviewers:
eroman
CC:
chromium-reviews, cbentzel+watch_chromium.org, Paweł Hajdan Jr.
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Remove some uses of isdigit in net/, as it can be locale depedent. BUG=671813 Committed: https://crrev.com/0f8ee2261a801a18d55cab7f28d5551ca23ed012 Cr-Commit-Position: refs/heads/master@{#437045}

Patch Set 1 #

Patch Set 2 : I guess 9 technically is considered a number, in some circles #

Patch Set 3 : Missed a method #

Total comments: 7

Patch Set 4 : Response #

Unified diffs Side-by-side diffs Delta from patch set Stats (+38 lines, -19 lines) Patch
M net/ftp/ftp_network_transaction.cc View 1 chunk +2 lines, -2 lines 0 comments Download
M net/quic/core/quic_spdy_stream.cc View 1 2 chunks +10 lines, -5 lines 0 comments Download
M net/quic/core/quic_spdy_stream_test.cc View 2 chunks +15 lines, -1 line 0 comments Download
M net/spdy/spdy_alt_svc_wire_format.cc View 1 2 3 3 chunks +11 lines, -11 lines 0 comments Download

Messages

Total messages: 23 (11 generated)
mmenke
4 years ago (2016-12-07 16:23:08 UTC) #9
mmenke
https://codereview.chromium.org/2558643002/diff/60001/net/spdy/spdy_alt_svc_wire_format.cc File net/spdy/spdy_alt_svc_wire_format.cc (right): https://codereview.chromium.org/2558643002/diff/60001/net/spdy/spdy_alt_svc_wire_format.cc#newcode359 net/spdy/spdy_alt_svc_wire_format.cc:359: return ParsePositiveIntegerImpl<uint32_t>(c, end, value); Could use the parse_number method ...
4 years ago (2016-12-07 16:24:37 UTC) #10
eroman
https://codereview.chromium.org/2558643002/diff/60001/net/spdy/spdy_alt_svc_wire_format.cc File net/spdy/spdy_alt_svc_wire_format.cc (right): https://codereview.chromium.org/2558643002/diff/60001/net/spdy/spdy_alt_svc_wire_format.cc#newcode271 net/spdy/spdy_alt_svc_wire_format.cc:271: bool SpdyAltSvcWireFormat::PercentDecode(StringPiece::const_iterator c, Hmm, weird. When I think percent ...
4 years ago (2016-12-07 18:40:12 UTC) #11
mmenke
https://codereview.chromium.org/2558643002/diff/60001/net/spdy/spdy_alt_svc_wire_format.cc File net/spdy/spdy_alt_svc_wire_format.cc (right): https://codereview.chromium.org/2558643002/diff/60001/net/spdy/spdy_alt_svc_wire_format.cc#newcode271 net/spdy/spdy_alt_svc_wire_format.cc:271: bool SpdyAltSvcWireFormat::PercentDecode(StringPiece::const_iterator c, On 2016/12/07 18:40:11, eroman (slow) wrote: ...
4 years ago (2016-12-07 19:02:51 UTC) #12
eroman
https://codereview.chromium.org/2558643002/diff/60001/net/spdy/spdy_alt_svc_wire_format.cc File net/spdy/spdy_alt_svc_wire_format.cc (right): https://codereview.chromium.org/2558643002/diff/60001/net/spdy/spdy_alt_svc_wire_format.cc#newcode271 net/spdy/spdy_alt_svc_wire_format.cc:271: bool SpdyAltSvcWireFormat::PercentDecode(StringPiece::const_iterator c, On 2016/12/07 19:02:50, mmenke wrote: > ...
4 years ago (2016-12-07 19:11:53 UTC) #13
eroman
lgtm
4 years ago (2016-12-07 19:13:55 UTC) #14
mmenke
On 2016/12/07 19:11:53, eroman (slow) wrote: > https://codereview.chromium.org/2558643002/diff/60001/net/spdy/spdy_alt_svc_wire_format.cc > File net/spdy/spdy_alt_svc_wire_format.cc (right): > > https://codereview.chromium.org/2558643002/diff/60001/net/spdy/spdy_alt_svc_wire_format.cc#newcode271 ...
4 years ago (2016-12-07 19:14:38 UTC) #15
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2558643002/80001
4 years ago (2016-12-07 19:15:35 UTC) #17
eroman
right, our support in src/url is to inflate to a wide strings https://cs.chromium.org/chromium/src/url/url_util.h?q=url/url_util.h&sq=package:chromium&dr&l=224
4 years ago (2016-12-07 19:19:01 UTC) #18
mmenke
On 2016/12/07 19:19:01, eroman (slow) wrote: > right, our support in src/url is to inflate ...
4 years ago (2016-12-07 19:20:49 UTC) #19
commit-bot: I haz the power
Committed patchset #4 (id:80001)
4 years ago (2016-12-07 20:16:04 UTC) #21
commit-bot: I haz the power
4 years ago (2016-12-07 20:19:27 UTC) #23
Message was sent while issue was closed.
Patchset 4 (id:??) landed as
https://crrev.com/0f8ee2261a801a18d55cab7f28d5551ca23ed012
Cr-Commit-Position: refs/heads/master@{#437045}

Powered by Google App Engine
This is Rietveld 408576698