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

Issue 7540023: DevTools: no way to remote debug using ToT build as a client. (Closed)

Created:
9 years, 4 months ago by pfeldman
Modified:
9 years, 4 months ago
Reviewers:
eroman, pfeldman1, yurys, loislo
CC:
chromium-reviews, cbentzel+watch_chromium.org, darin-cc_chromium.org
Visibility:
Public.

Description

DevTools: no way to remote debug using ToT build as a client. (rebaselined and brushed up loislo's http://codereview.chromium.org/7482041) BUG=90743 TEST= Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=95138

Patch Set 1 #

Total comments: 3

Patch Set 2 : Review comments addressed. #

Total comments: 7
Unified diffs Side-by-side diffs Delta from patch set Stats (+652 lines, -234 lines) Patch
M net/net.gyp View 1 chunk +4 lines, -0 lines 0 comments Download
A net/server/http_connection.h View 1 chunk +54 lines, -0 lines 1 comment Download
A net/server/http_connection.cc View 1 chunk +84 lines, -0 lines 0 comments Download
M net/server/http_server.h View 3 chunks +9 lines, -28 lines 0 comments Download
M net/server/http_server.cc View 1 10 chunks +79 lines, -206 lines 0 comments Download
M net/server/http_server_request_info.h View 1 chunk +3 lines, -0 lines 0 comments Download
M net/server/http_server_request_info.cc View 1 chunk +9 lines, -0 lines 0 comments Download
A net/server/web_socket.h View 1 1 chunk +45 lines, -0 lines 2 comments Download
A net/server/web_socket.cc View 1 1 chunk +365 lines, -0 lines 4 comments Download

Messages

Total messages: 6 (0 generated)
pfeldman
9 years, 4 months ago (2011-08-01 13:15:17 UTC) #1
yurys
http://codereview.chromium.org/7540023/diff/1/net/server/web_socket.cc File net/server/web_socket.cc (right): http://codereview.chromium.org/7540023/diff/1/net/server/web_socket.cc#newcode29 net/server/web_socket.cc:29: static uint32 WebSocketKeyFingerprint(const std::string& str) { Consider splitting this ...
9 years, 4 months ago (2011-08-01 13:42:29 UTC) #2
yurys
http://codereview.chromium.org/7540023/diff/1/net/server/web_socket.cc File net/server/web_socket.cc (right): http://codereview.chromium.org/7540023/diff/1/net/server/web_socket.cc#newcode246 net/server/web_socket.cc:246: static const uint64 max_payload_ength = 0x7FFFFFFFFFFFFFFFull; max_payload_ength -> max_payload_length
9 years, 4 months ago (2011-08-01 13:51:09 UTC) #3
yurys
lgtm given that the remote debugging functionality is broken and we need to fix that ...
9 years, 4 months ago (2011-08-01 14:00:00 UTC) #4
pfeldman1
9 years, 4 months ago (2011-08-01 17:01:21 UTC) #5
eroman
9 years, 4 months ago (2011-08-02 19:01:33 UTC) #6
LGTM

http://codereview.chromium.org/7540023/diff/5001/net/server/http_connection.h
File net/server/http_connection.h (right):

http://codereview.chromium.org/7540023/diff/5001/net/server/http_connection.h...
net/server/http_connection.h:37: static int lastId_;
last_id_

http://codereview.chromium.org/7540023/diff/5001/net/server/web_socket.cc
File net/server/web_socket.cc (right):

http://codereview.chromium.org/7540023/diff/5001/net/server/web_socket.cc#new...
net/server/web_socket.cc:31: const char* pChar = str.c_str();
please change this name to match styleguide.

http://codereview.chromium.org/7540023/diff/5001/net/server/web_socket.cc#new...
net/server/web_socket.cc:191: static const char* const web_socket_GUID =
kWebSocketGuid

http://codereview.chromium.org/7540023/diff/5001/net/server/web_socket.cc#new...
net/server/web_socket.cc:226: CHECK(op_code_ == kOpCodeText);
check_eq

http://codereview.chromium.org/7540023/diff/5001/net/server/web_socket.cc#new...
net/server/web_socket.cc:265: (*message)[i] = payload[i] ^ masking_key[i %
kMaskingKeyWidthInBytes];
I only did a cursory review of this logic BTW

http://codereview.chromium.org/7540023/diff/5001/net/server/web_socket.h
File net/server/web_socket.h (right):

http://codereview.chromium.org/7540023/diff/5001/net/server/web_socket.h#newc...
net/server/web_socket.h:25: enum ParseResult {
nit: move this to top

http://codereview.chromium.org/7540023/diff/5001/net/server/web_socket.h#newc...
net/server/web_socket.h:34: 
Please add a virtual destructor (with empty body) to prevent accidental leaks.

Powered by Google App Engine
This is Rietveld 408576698