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

Issue 1050013002: [WebSocketExtensionParser] Have Consume.* methods return bool instead of using has_error() (Closed)

Created:
5 years, 8 months ago by tyoshino (SeeGerritForStatus)
Modified:
5 years, 8 months ago
Reviewers:
eroman, yhirano
CC:
chromium-reviews, chromium-apps-reviews_chromium.org, cbentzel+watch_chromium.org, extensions-reviews_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

[WebSocketExtensionParser] Have Consume.* methods return bool instead of using has_error() Suggested by eroman at https://codereview.chromium.org/1047623002/diff/90001/net/websockets/websocket_extension_parser.cc#newcode25 R=yhirano,eroman BUG=none Committed: https://crrev.com/d90d2932227e484d8b5377201357a103b6639500 Cr-Commit-Position: refs/heads/master@{#324863}

Patch Set 1 #

Patch Set 2 : Add a test #

Patch Set 3 : Removed unnecessary variable #

Total comments: 12

Patch Set 4 : Addressed #7, Rebased #

Unified diffs Side-by-side diffs Delta from patch set Stats (+75 lines, -92 lines) Patch
M net/server/web_socket_encoder.cc View 1 chunk +1 line, -2 lines 0 comments Download
M net/websockets/websocket_basic_handshake_stream.cc View 1 chunk +1 line, -2 lines 0 comments Download
M net/websockets/websocket_extension_parser.h View 1 2 3 3 chunks +14 lines, -14 lines 0 comments Download
M net/websockets/websocket_extension_parser.cc View 1 2 3 2 chunks +47 lines, -52 lines 0 comments Download
M net/websockets/websocket_extension_parser_test.cc View 1 10 chunks +12 lines, -22 lines 0 comments Download

Messages

Total messages: 14 (4 generated)
tyoshino (SeeGerritForStatus)
5 years, 8 months ago (2015-04-01 07:34:02 UTC) #2
tyoshino (SeeGerritForStatus)
Low priority
5 years, 8 months ago (2015-04-01 07:34:10 UTC) #3
yhirano
lgtm
5 years, 8 months ago (2015-04-06 09:14:27 UTC) #4
tyoshino (SeeGerritForStatus)
+eroman
5 years, 8 months ago (2015-04-06 09:20:28 UTC) #6
eroman
LGTM, thanks for the refactor! https://codereview.chromium.org/1050013002/diff/40001/net/websockets/websocket_extension_parser.cc File net/websockets/websocket_extension_parser.cc (right): https://codereview.chromium.org/1050013002/diff/40001/net/websockets/websocket_extension_parser.cc#newcode88 net/websockets/websocket_extension_parser.cc:88: value_string = value.as_string(); FYI: ...
5 years, 8 months ago (2015-04-06 19:07:52 UTC) #7
tyoshino (SeeGerritForStatus)
Thanks for review and suggestions! https://codereview.chromium.org/1050013002/diff/40001/net/websockets/websocket_extension_parser.cc File net/websockets/websocket_extension_parser.cc (right): https://codereview.chromium.org/1050013002/diff/40001/net/websockets/websocket_extension_parser.cc#newcode88 net/websockets/websocket_extension_parser.cc:88: value_string = value.as_string(); On ...
5 years, 8 months ago (2015-04-13 14:11:59 UTC) #8
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1050013002/60001
5 years, 8 months ago (2015-04-13 14:12:53 UTC) #11
eroman
lgtm
5 years, 8 months ago (2015-04-13 16:36:31 UTC) #12
commit-bot: I haz the power
Committed patchset #4 (id:60001)
5 years, 8 months ago (2015-04-13 16:53:40 UTC) #13
commit-bot: I haz the power
5 years, 8 months ago (2015-04-13 16:55:49 UTC) #14
Message was sent while issue was closed.
Patchset 4 (id:??) landed as
https://crrev.com/d90d2932227e484d8b5377201357a103b6639500
Cr-Commit-Position: refs/heads/master@{#324863}

Powered by Google App Engine
This is Rietveld 408576698