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

Issue 284743002: Adding a mojo interface to the mojo spy. (Closed)

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

Description

Adding more guts to the mojo spy. This CL fleshes out the basic architecture of the spy. Introducing SpyServerImpl and enough code to operate the "start" and "stop" commands of the front-end. Still a quite a few loose ends, specially on teardown. I updated the design doc to reflect this CL: https://docs.google.com/a/chromium.org/document/d/11FKYXf9mSohlsgl4JmGlyWE1ScX3DKdssdjub63tkwA/edit?usp=sharing BUG=360188 TEST=manual via test/spy_repl_test.html Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=272458

Patch Set 1 #

Patch Set 2 : more #

Patch Set 3 : new files #

Patch Set 4 : cleanup #

Total comments: 10

Patch Set 5 : darin's nits #

Patch Set 6 : clang #

Patch Set 7 : clang 2 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+345 lines, -44 lines) Patch
M mojo/mojo.gyp View 1 2 3 4 5 1 chunk +7 lines, -0 lines 0 comments Download
A mojo/spy/public/spy.mojom View 1 2 3 4 1 chunk +50 lines, -0 lines 0 comments Download
M mojo/spy/spy.h View 1 2 chunks +6 lines, -3 lines 0 comments Download
M mojo/spy/spy.cc View 1 2 3 6 chunks +43 lines, -22 lines 0 comments Download
A mojo/spy/spy_server_impl.h View 1 2 3 4 5 6 1 chunk +59 lines, -0 lines 0 comments Download
A mojo/spy/spy_server_impl.cc View 1 2 3 4 5 1 chunk +96 lines, -0 lines 0 comments Download
M mojo/spy/websocket_server.h View 1 2 3 4 2 chunks +23 lines, -5 lines 0 comments Download
M mojo/spy/websocket_server.cc View 1 2 3 4 4 chunks +61 lines, -14 lines 0 comments Download

Messages

Total messages: 14 (0 generated)
cpu_(ooo_6.6-7.5)
the code is pretty prosaic save the part where I use a mojo messagepipe instead ...
6 years, 7 months ago (2014-05-17 01:08:57 UTC) #1
darin (slow to review)
LGTM https://codereview.chromium.org/284743002/diff/70001/mojo/spy/public/spy.mojom File mojo/spy/public/spy.mojom (right): https://codereview.chromium.org/284743002/diff/70001/mojo/spy/public/spy.mojom#newcode44 mojo/spy/public/spy.mojom:44: FatalError(Result result); nit: should this be OnFatalError? https://codereview.chromium.org/284743002/diff/70001/mojo/spy/spy.cc ...
6 years, 7 months ago (2014-05-17 02:37:57 UTC) #2
cpu_(ooo_6.6-7.5)
The CQ bit was checked by cpu@chromium.org
6 years, 7 months ago (2014-05-19 20:09:18 UTC) #3
cpu_(ooo_6.6-7.5)
https://codereview.chromium.org/284743002/diff/70001/mojo/spy/public/spy.mojom File mojo/spy/public/spy.mojom (right): https://codereview.chromium.org/284743002/diff/70001/mojo/spy/public/spy.mojom#newcode44 mojo/spy/public/spy.mojom:44: FatalError(Result result); On 2014/05/17 02:37:58, darin wrote: > nit: ...
6 years, 7 months ago (2014-05-19 20:09:34 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/284743002/90001
6 years, 7 months ago (2014-05-19 20:09:57 UTC) #5
commit-bot: I haz the power
FYI, CQ is re-trying this CL (attempt #1). Please consider checking whether the failures are ...
6 years, 7 months ago (2014-05-20 00:29:53 UTC) #6
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 7 months ago (2014-05-20 00:57:59 UTC) #7
commit-bot: I haz the power
Try jobs failed on following builders: android_clang_dbg on tryserver.chromium (http://build.chromium.org/p/tryserver.chromium/builders/android_clang_dbg/builds/143872)
6 years, 7 months ago (2014-05-20 00:58:01 UTC) #8
cpu_(ooo_6.6-7.5)
The CQ bit was checked by cpu@chromium.org
6 years, 7 months ago (2014-05-22 21:36:52 UTC) #9
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/cpu@chromium.org/284743002/110001
6 years, 7 months ago (2014-05-22 21:37:55 UTC) #10
cpu_(ooo_6.6-7.5)
The CQ bit was unchecked by cpu@chromium.org
6 years, 7 months ago (2014-05-22 23:18:41 UTC) #11
cpu_(ooo_6.6-7.5)
The CQ bit was checked by cpu@chromium.org
6 years, 7 months ago (2014-05-22 23:22:24 UTC) #12
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/cpu@chromium.org/284743002/130001
6 years, 7 months ago (2014-05-22 23:23:00 UTC) #13
commit-bot: I haz the power
6 years, 7 months ago (2014-05-23 09:50:19 UTC) #14
Message was sent while issue was closed.
Change committed as 272458

Powered by Google App Engine
This is Rietveld 408576698