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

Issue 258693011: First cut at mojo spy's websocket server (Closed)

Created:
6 years, 8 months ago by cpu_(ooo_6.6-7.5)
Modified:
6 years, 7 months ago
CC:
chromium-reviews, Aaron Boodman, darin (slow to review), viettrungluu+watch_chromium.org, ben+mojo_chromium.org, abarth-chromium
Visibility:
Public.

Description

First cut at mojo spy's websocket server Here we just add the websocket code with no interoperation with the rest of the mojo spy. Basically necessary boilerplate. Also a simple websocket client html file. Given mojo_shell.exe with: --spy --origin=http://127.0.0.1:4444 --disable-cache mojo:mojo_sample_app The webpage should be able to connect to the mojo spy via websocket. BUG=360188 TEST= see spy_repl_test.html Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=267132

Patch Set 1 #

Patch Set 2 : lf #

Total comments: 11

Patch Set 3 : nits #

Unified diffs Side-by-side diffs Delta from patch set Stats (+278 lines, -0 lines) Patch
M mojo/mojo.gyp View 1 chunk +3 lines, -0 lines 0 comments Download
A + mojo/spy/DEPS View 0 chunks +-1 lines, --1 lines 0 comments Download
M mojo/spy/spy.h View 1 2 1 chunk +18 lines, -0 lines 0 comments Download
M mojo/spy/spy.cc View 1 2 3 chunks +48 lines, -1 line 0 comments Download
A mojo/spy/test/spy_repl_test.html View 1 chunk +96 lines, -0 lines 0 comments Download
A mojo/spy/websocket_server.h View 1 chunk +44 lines, -0 lines 0 comments Download
A mojo/spy/websocket_server.cc View 1 1 chunk +70 lines, -0 lines 0 comments Download

Messages

Total messages: 6 (0 generated)
cpu_(ooo_6.6-7.5)
please take a look.
6 years, 8 months ago (2014-04-26 23:42:44 UTC) #1
darin (slow to review)
LGTM https://codereview.chromium.org/258693011/diff/20001/mojo/spy/spy.cc File mojo/spy/spy.cc (right): https://codereview.chromium.org/258693011/diff/20001/mojo/spy/spy.cc#newcode172 mojo/spy/spy.cc:172: : websocket_port(kDefaultWebSocketPort) { nit: indentation https://codereview.chromium.org/258693011/diff/20001/mojo/spy/spy.cc#newcode181 mojo/spy/spy.cc:181: base::SplitStringIntoKeyValuePairs(options, ...
6 years, 7 months ago (2014-04-29 06:03:58 UTC) #2
cpu_(ooo_6.6-7.5)
https://codereview.chromium.org/258693011/diff/20001/mojo/spy/spy.cc File mojo/spy/spy.cc (right): https://codereview.chromium.org/258693011/diff/20001/mojo/spy/spy.cc#newcode172 mojo/spy/spy.cc:172: : websocket_port(kDefaultWebSocketPort) { On 2014/04/29 06:03:58, darin wrote: > ...
6 years, 7 months ago (2014-04-29 22:31:16 UTC) #3
cpu_(ooo_6.6-7.5)
The CQ bit was checked by cpu@chromium.org
6 years, 7 months ago (2014-04-29 22:32:45 UTC) #4
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/cpu@chromium.org/258693011/40001
6 years, 7 months ago (2014-04-29 22:34:00 UTC) #5
commit-bot: I haz the power
6 years, 7 months ago (2014-04-30 08:07:51 UTC) #6
Message was sent while issue was closed.
Change committed as 267132

Powered by Google App Engine
This is Rietveld 408576698