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

Issue 2962593002: Added Editor stream and sendObjectToEditor RPC into Service Protocol (Closed)

Created:
3 years, 5 months ago by cbernaschina
Modified:
3 years, 5 months ago
Reviewers:
rmacnak, siva
CC:
reviews_dartlang.org, turnidge, rmacnak, zra, vm-dev_dartlang.org, devoncarew
Target Ref:
refs/heads/master
Visibility:
Public.

Description

Added Editor stream and sendObjectToEditor RPC into Service Protocol Related=https://github.com/dart-lang/sdk/issues/30023 R=rmacnak@google.com Committed: https://github.com/dart-lang/sdk/commit/0d86f5f3c560fbc0680e33ccf8de3e224529a85a

Patch Set 1 #

Total comments: 6

Patch Set 2 : Added explanation comment #

Unified diffs Side-by-side diffs Delta from patch set Stats (+1025 lines, -8 lines) Patch
M runtime/observatory/lib/elements.dart View 3 chunks +3 lines, -0 lines 0 comments Download
M runtime/observatory/lib/models.dart View 1 chunk +1 line, -0 lines 0 comments Download
M runtime/observatory/lib/repositories.dart View 1 chunk +1 line, -0 lines 0 comments Download
M runtime/observatory/lib/src/app/application.dart View 1 chunk +1 line, -0 lines 0 comments Download
M runtime/observatory/lib/src/app/page.dart View 2 chunks +39 lines, -0 lines 0 comments Download
M runtime/observatory/lib/src/cpu_profile/cpu_profile.dart View 1 chunk +4 lines, -4 lines 0 comments Download
M runtime/observatory/lib/src/elements/css/shared.css View 1 chunk +164 lines, -0 lines 0 comments Download
M runtime/observatory/lib/src/elements/debugger.dart View 1 chunk +0 lines, -1 line 0 comments Download
A runtime/observatory/lib/src/elements/memory_dashboard.dart View 1 chunk +649 lines, -0 lines 0 comments Download
A runtime/observatory/lib/src/models/repositories/editor.dart View 1 chunk +9 lines, -0 lines 0 comments Download
A runtime/observatory/lib/src/repositories/editor.dart View 1 chunk +20 lines, -0 lines 0 comments Download
M runtime/observatory/lib/src/service/object.dart View 3 chunks +9 lines, -0 lines 0 comments Download
M runtime/observatory/observatory_sources.gypi View 4 chunks +4 lines, -1 line 0 comments Download
A runtime/observatory/tests/service/send_object_to_editor_rpc_test.dart View 1 chunk +57 lines, -0 lines 0 comments Download
M runtime/vm/service.h View 1 chunk +1 line, -0 lines 0 comments Download
M runtime/vm/service.cc View 1 3 chunks +40 lines, -2 lines 0 comments Download
M runtime/vm/service_event.h View 4 chunks +12 lines, -0 lines 0 comments Download
M runtime/vm/service_event.cc View 3 chunks +11 lines, -0 lines 0 comments Download

Messages

Total messages: 9 (3 generated)
cbernaschina
3 years, 5 months ago (2017-06-26 22:41:03 UTC) #3
rmacnak
https://codereview.chromium.org/2962593002/diff/1/runtime/observatory/lib/src/elements/memory_dashboard.dart File runtime/observatory/lib/src/elements/memory_dashboard.dart (right): https://codereview.chromium.org/2962593002/diff/1/runtime/observatory/lib/src/elements/memory_dashboard.dart#newcode40 runtime/observatory/lib/src/elements/memory_dashboard.dart:40: class MemoryDashboardElement extends HtmlElement implements Renderable { This currently ...
3 years, 5 months ago (2017-06-27 16:47:56 UTC) #4
cbernaschina
https://codereview.chromium.org/2962593002/diff/1/runtime/observatory/lib/src/elements/memory_dashboard.dart File runtime/observatory/lib/src/elements/memory_dashboard.dart (right): https://codereview.chromium.org/2962593002/diff/1/runtime/observatory/lib/src/elements/memory_dashboard.dart#newcode40 runtime/observatory/lib/src/elements/memory_dashboard.dart:40: class MemoryDashboardElement extends HtmlElement implements Renderable { On 2017/06/27 ...
3 years, 5 months ago (2017-06-27 17:03:25 UTC) #5
rmacnak
lgtm https://codereview.chromium.org/2962593002/diff/1/runtime/vm/service.cc File runtime/vm/service.cc (right): https://codereview.chromium.org/2962593002/diff/1/runtime/vm/service.cc#newcode4215 runtime/vm/service.cc:4215: LookupHeapObject(thread, js->LookupParam("objectId"), &lookup_result)); On 2017/06/27 17:03:25, cbernaschina wrote: ...
3 years, 5 months ago (2017-06-28 16:32:43 UTC) #6
cbernaschina
Committed patchset #2 (id:20001) manually as 0d86f5f3c560fbc0680e33ccf8de3e224529a85a (presubmit successful).
3 years, 5 months ago (2017-06-29 17:08:28 UTC) #8
cbernaschina
3 years, 5 months ago (2017-06-29 17:29:38 UTC) #9
Message was sent while issue was closed.
https://codereview.chromium.org/2962593002/diff/1/runtime/vm/service.cc
File runtime/vm/service.cc (right):

https://codereview.chromium.org/2962593002/diff/1/runtime/vm/service.cc#newco...
runtime/vm/service.cc:4215: LookupHeapObject(thread,
js->LookupParam("objectId"), &lookup_result));
On 2017/06/28 16:32:42, rmacnak wrote:
> On 2017/06/27 17:03:25, cbernaschina wrote:
> > On 2017/06/27 16:47:56, rmacnak wrote:
> > > It looks like the only thing we do with the object is turn it back into an
> > > objectId for the event. Should we just pass the objectId through?
> > 
> > In the event it is sent as an ObjectRef.
> > Looking it up through the ObjectIdRing should guarantee a longer life for
the
> > volatile ids.
> 
> Add a comment here explaining we're effectively refreshing the id here.

Done.

Powered by Google App Engine
This is Rietveld 408576698