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

Issue 920813003: Refactor service code and service method parameters (Closed)

Created:
5 years, 10 months ago by Cutch
Modified:
5 years, 10 months ago
Reviewers:
turnidge
CC:
reviews_dartlang.org, vm-dev_dartlang.org
Target Ref:
refs/heads/master
Visibility:
Public.

Description

Refactor service code and service method parameters - Move service isolate code into service_isolate.cc - Reorganize service isolate code - Unify isolate and root message handlers - Add MethodParameter classes - Add parameter list to service method table - Use parameter list for getCpuProfile RPC - Update service_test.cc to work with required isolateId parameter. R=turnidge@google.com Committed: https://code.google.com/p/dart/source/detail?r=43735

Patch Set 1 #

Total comments: 13

Patch Set 2 : #

Patch Set 3 : #

Unified diffs Side-by-side diffs Delta from patch set Stats (+1644 lines, -1292 lines) Patch
M runtime/vm/dart.cc View 4 chunks +5 lines, -5 lines 0 comments Download
M runtime/vm/dart_api_impl.cc View 1 3 chunks +4 lines, -3 lines 0 comments Download
M runtime/vm/debugger.cc View 4 chunks +4 lines, -3 lines 0 comments Download
M runtime/vm/isolate.h View 1 chunk +1 line, -1 line 0 comments Download
M runtime/vm/isolate.cc View 1 3 chunks +3 lines, -2 lines 0 comments Download
M runtime/vm/service.h View 1 4 chunks +6 lines, -47 lines 0 comments Download
M runtime/vm/service.cc View 1 2 30 chunks +842 lines, -1222 lines 0 comments Download
A runtime/vm/service_isolate.h View 1 1 chunk +60 lines, -0 lines 0 comments Download
A runtime/vm/service_isolate.cc View 1 1 chunk +685 lines, -0 lines 0 comments Download
M runtime/vm/service_test.cc View 6 chunks +31 lines, -8 lines 0 comments Download
M runtime/vm/vm_sources.gypi View 1 chunk +3 lines, -1 line 0 comments Download

Messages

Total messages: 7 (2 generated)
Cutch
5 years, 10 months ago (2015-02-12 17:42:16 UTC) #2
turnidge
Some small comments. Overall a nice change. I'll be glad to have service.cc smaller and ...
5 years, 10 months ago (2015-02-12 18:08:57 UTC) #3
Cutch
https://codereview.chromium.org/920813003/diff/1/runtime/vm/service.cc File runtime/vm/service.cc (right): https://codereview.chromium.org/920813003/diff/1/runtime/vm/service.cc#newcode44 runtime/vm/service.cc:44: EmbedderServiceHandler* Service::root_service_handler_head_ = NULL; On 2015/02/12 18:08:57, turnidge wrote: ...
5 years, 10 months ago (2015-02-12 18:18:47 UTC) #4
turnidge
lgtm
5 years, 10 months ago (2015-02-12 18:25:39 UTC) #5
Cutch
5 years, 10 months ago (2015-02-12 19:11:08 UTC) #7
Message was sent while issue was closed.
Committed patchset #3 (id:40001) manually as 43735 (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698