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

Issue 474633002: Optional binary payloads in VM service events. (Closed)

Created:
6 years, 4 months ago by koda
Modified:
6 years, 4 months ago
Reviewers:
Cutch
CC:
reviews_dartlang.org, turnidge, Cutch, vm-dev_dartlang.org
Visibility:
Public.

Description

Optional binary payloads in VM service events. Allow an event to send a binary blob in addition to its JSON message. For testing, add _Echo event type that is triggered by an _echo/event request. R=johnmccutchan@google.com Committed: https://code.google.com/p/dart/source/detail?r=39332

Patch Set 1 #

Patch Set 2 : #

Patch Set 3 : #

Patch Set 4 : #

Patch Set 5 : #

Patch Set 6 : #

Total comments: 6

Patch Set 7 : #

Total comments: 4

Patch Set 8 : #

Unified diffs Side-by-side diffs Delta from patch set Stats (+1225 lines, -914 lines) Patch
M runtime/bin/vmservice/observatory/deployed/web/index.html_bootstrap.dart.js View 1 2 3 4 5 6 7 290 chunks +517 lines, -447 lines 0 comments Download
M runtime/bin/vmservice/observatory/deployed/web/index_devtools.html_bootstrap.dart.js View 1 2 3 4 5 6 7 290 chunks +517 lines, -447 lines 0 comments Download
M runtime/bin/vmservice/observatory/deployed/web/packages/web_components/dart_support.js View 1 2 3 4 5 6 7 1 chunk +3 lines, -1 line 0 comments Download
M runtime/bin/vmservice/observatory/lib/service.dart View 1 2 3 4 5 6 7 1 chunk +1 line, -0 lines 0 comments Download
M runtime/bin/vmservice/observatory/lib/service_common.dart View 1 2 3 4 5 6 7 4 chunks +20 lines, -1 line 0 comments Download
M runtime/bin/vmservice/observatory/lib/service_html.dart View 1 2 3 4 5 6 7 2 chunks +9 lines, -0 lines 0 comments Download
M runtime/bin/vmservice/observatory/lib/service_io.dart View 1 2 3 4 5 6 7 2 chunks +11 lines, -0 lines 0 comments Download
M runtime/bin/vmservice/observatory/lib/src/app/application.dart View 1 2 3 4 5 6 7 1 chunk +1 line, -1 line 0 comments Download
M runtime/bin/vmservice/observatory/lib/src/service/object.dart View 1 2 3 4 5 6 7 3 chunks +14 lines, -1 line 0 comments Download
A runtime/bin/vmservice/observatory/test/echo_test.dart View 1 chunk +44 lines, -0 lines 0 comments Download
M runtime/bin/vmservice/observatory/test/gc_test.dart View 1 chunk +4 lines, -0 lines 0 comments Download
M runtime/bin/vmservice/observatory/test/metrics_test.dart View 1 chunk +4 lines, -0 lines 0 comments Download
M runtime/bin/vmservice/server.dart View 1 chunk +7 lines, -3 lines 0 comments Download
M runtime/vm/service.h View 3 chunks +11 lines, -3 lines 0 comments Download
M runtime/vm/service.cc View 5 chunks +60 lines, -8 lines 0 comments Download
M runtime/vm/service/client.dart View 1 chunk +1 line, -1 line 0 comments Download
M runtime/vm/service/vmservice.dart View 1 chunk +1 line, -1 line 0 comments Download

Messages

Total messages: 7 (0 generated)
koda
6 years, 4 months ago (2014-08-15 21:01:31 UTC) #1
koda
6 years, 4 months ago (2014-08-15 21:16:06 UTC) #2
Cutch
https://codereview.chromium.org/474633002/diff/100001/runtime/bin/vmservice/observatory/lib/service_common.dart File runtime/bin/vmservice/observatory/lib/service_common.dart (right): https://codereview.chromium.org/474633002/diff/100001/runtime/bin/vmservice/observatory/lib/service_common.dart#newcode171 runtime/bin/vmservice/observatory/lib/service_common.dart:171: var meta = new Utf8Decoder().convert(new Uint8List.view( Can we reuse ...
6 years, 4 months ago (2014-08-15 21:33:58 UTC) #3
koda
PTAL https://codereview.chromium.org/474633002/diff/100001/runtime/bin/vmservice/observatory/lib/service_common.dart File runtime/bin/vmservice/observatory/lib/service_common.dart (right): https://codereview.chromium.org/474633002/diff/100001/runtime/bin/vmservice/observatory/lib/service_common.dart#newcode171 runtime/bin/vmservice/observatory/lib/service_common.dart:171: var meta = new Utf8Decoder().convert(new Uint8List.view( On 2014/08/15 ...
6 years, 4 months ago (2014-08-15 22:20:54 UTC) #4
Cutch
LGTM after changing the "id" strings for both messages. There are two dispatch tables, one ...
6 years, 4 months ago (2014-08-15 23:47:42 UTC) #5
koda
I mainly wanted to distinguish them for the unit test otherwise the events look exactly ...
6 years, 4 months ago (2014-08-15 23:53:28 UTC) #6
koda
6 years, 4 months ago (2014-08-18 15:35:12 UTC) #7
Message was sent while issue was closed.
Committed patchset #8 manually as r39332 (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698