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

Issue 683033003: Rename websocket_handshake_handler.* to websocket_handshake_challenge.* (Closed)

Created:
6 years, 1 month ago by Adam Rice
Modified:
6 years, 1 month ago
CC:
chromium-reviews, posciak+watch_chromium.org, cbentzel+watch_chromium.org, wjia+watch_chromium.org, mcasas+watch_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Project:
chromium
Visibility:
Public.

Description

Rename websocket_handshake_handler.* to websocket_handshake_challenge.* Simplify the calling convention of ComputeSecWebSocketAccept to just return a string, and add a test for it. BUG= TEST=net_unittests Committed: https://crrev.com/11bdcd08b9aa8413b2096f542cf81d4251114832 Cr-Commit-Position: refs/heads/master@{#304996}

Patch Set 1 #

Total comments: 4

Patch Set 2 : Change calling convention of ComputeSecWebSocketAccept #

Total comments: 4

Patch Set 3 : Fixes thanks to wtc #

Total comments: 1

Patch Set 4 : Update copyright messages for new files. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+74 lines, -69 lines) Patch
M net/BUILD.gn View 2 chunks +3 lines, -4 lines 0 comments Download
M net/net.gypi View 2 chunks +3 lines, -3 lines 0 comments Download
M net/websockets/websocket_basic_handshake_stream.cc View 1 2 chunks +3 lines, -3 lines 0 comments Download
A net/websockets/websocket_handshake_challenge.h View 1 2 3 1 chunk +21 lines, -0 lines 0 comments Download
A net/websockets/websocket_handshake_challenge.cc View 1 2 3 1 chunk +20 lines, -0 lines 0 comments Download
A net/websockets/websocket_handshake_challenge_test.cc View 1 2 3 1 chunk +24 lines, -0 lines 0 comments Download
D net/websockets/websocket_handshake_handler.h View 1 chunk +0 lines, -19 lines 0 comments Download
D net/websockets/websocket_handshake_handler.cc View 1 chunk +0 lines, -23 lines 0 comments Download
D net/websockets/websocket_handshake_handler_test.cc View 1 chunk +0 lines, -17 lines 0 comments Download

Messages

Total messages: 18 (4 generated)
Adam Rice
I am considering changing the signature of ComputeSecWebSocketAccept from void ComputeSecWebSocketAccept(string,string*) to string ComputeSecWebSocketAccept(string) Let ...
6 years, 1 month ago (2014-11-11 16:29:21 UTC) #2
tyoshino (SeeGerritForStatus)
lgtm https://codereview.chromium.org/683033003/diff/1/net/websockets/websocket_handshake_challenge_test.cc File net/websockets/websocket_handshake_challenge_test.cc (right): https://codereview.chromium.org/683033003/diff/1/net/websockets/websocket_handshake_challenge_test.cc#newcode13 net/websockets/websocket_handshake_challenge_test.cc:13: // Test the challenge from RFC6455. let's add ...
6 years, 1 month ago (2014-11-12 05:04:26 UTC) #3
tyoshino (SeeGerritForStatus)
On 2014/11/11 16:29:21, Adam Rice wrote: > I am considering changing the signature of ComputeSecWebSocketAccept ...
6 years, 1 month ago (2014-11-12 05:04:42 UTC) #4
tyoshino (SeeGerritForStatus)
https://codereview.chromium.org/683033003/diff/1/net/websockets/websocket_handshake_challenge_test.cc File net/websockets/websocket_handshake_challenge_test.cc (right): https://codereview.chromium.org/683033003/diff/1/net/websockets/websocket_handshake_challenge_test.cc#newcode4 net/websockets/websocket_handshake_challenge_test.cc:4: #include <string>
6 years, 1 month ago (2014-11-12 05:05:33 UTC) #5
Adam Rice
PTAL https://codereview.chromium.org/683033003/diff/1/net/websockets/websocket_handshake_challenge_test.cc File net/websockets/websocket_handshake_challenge_test.cc (right): https://codereview.chromium.org/683033003/diff/1/net/websockets/websocket_handshake_challenge_test.cc#newcode4 net/websockets/websocket_handshake_challenge_test.cc:4: On 2014/11/12 05:05:32, tyoshino wrote: > #include <string> ...
6 years, 1 month ago (2014-11-12 11:24:17 UTC) #6
tyoshino (SeeGerritForStatus)
lgtm
6 years, 1 month ago (2014-11-12 11:50:45 UTC) #7
Adam Rice
+wtc, does this satisfy your requirements?
6 years, 1 month ago (2014-11-12 12:05:56 UTC) #9
wtc
Patch set 2 LGTM. It seems sub-optimal to devote a header file to only one ...
6 years, 1 month ago (2014-11-12 20:11:56 UTC) #10
Adam Rice
https://codereview.chromium.org/683033003/diff/20001/net/websockets/websocket_handshake_challenge.cc File net/websockets/websocket_handshake_challenge.cc (right): https://codereview.chromium.org/683033003/diff/20001/net/websockets/websocket_handshake_challenge.cc#newcode8 net/websockets/websocket_handshake_challenge.cc:8: #include "base/logging.h" On 2014/11/12 20:11:55, wtc wrote: > > ...
6 years, 1 month ago (2014-11-13 15:24:38 UTC) #11
Adam Rice
+eroman for net/ OWNERS.
6 years, 1 month ago (2014-11-13 15:27:53 UTC) #13
eroman
LGTM (sorry for slowness, I thought wtc was a net/ owner!) https://codereview.chromium.org/683033003/diff/40001/net/websockets/websocket_handshake_challenge.h File net/websockets/websocket_handshake_challenge.h (right): ...
6 years, 1 month ago (2014-11-19 00:00:28 UTC) #14
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/683033003/60001
6 years, 1 month ago (2014-11-20 08:33:33 UTC) #16
commit-bot: I haz the power
Committed patchset #4 (id:60001)
6 years, 1 month ago (2014-11-20 09:57:18 UTC) #17
commit-bot: I haz the power
6 years, 1 month ago (2014-11-20 09:58:10 UTC) #18
Message was sent while issue was closed.
Patchset 4 (id:??) landed as
https://crrev.com/11bdcd08b9aa8413b2096f542cf81d4251114832
Cr-Commit-Position: refs/heads/master@{#304996}

Powered by Google App Engine
This is Rietveld 408576698