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

Issue 2905543004: [inspector] Prepare some methods in V8InspectorImpl to multiple sessions (Closed)

Created:
3 years, 7 months ago by dgozman
Modified:
3 years, 6 months ago
Reviewers:
kozy
CC:
v8-reviews_googlegroups.com, devtools-reviews_chromium.org
Target Ref:
refs/heads/master
Project:
v8
Visibility:
Public.

Description

[inspector] Prepare some methods in V8InspectorImpl to multiple sessions - introduced session id, which fixes an issue of reconnect while evaluating; - forEachContext provides a safe way to iterate over contexts in a group. BUG=chromium:590878 Review-Url: https://codereview.chromium.org/2905543004 Cr-Commit-Position: refs/heads/master@{#45613} Committed: https://chromium.googlesource.com/v8/v8/+/3655dc52b2f9c76c46a28a567ad5176c5d89612d

Patch Set 1 #

Patch Set 2 : DCHECK #

Total comments: 4

Patch Set 3 : rebased #

Unified diffs Side-by-side diffs Delta from patch set Stats (+162 lines, -203 lines) Patch
M src/inspector/injected-script.h View 4 chunks +6 lines, -7 lines 0 comments Download
M src/inspector/injected-script.cc View 4 chunks +14 lines, -21 lines 0 comments Download
M src/inspector/v8-debugger.cc View 1 8 chunks +35 lines, -30 lines 0 comments Download
M src/inspector/v8-debugger-agent-impl.cc View 3 chunks +3 lines, -6 lines 0 comments Download
M src/inspector/v8-inspector-impl.h View 3 chunks +8 lines, -7 lines 0 comments Download
M src/inspector/v8-inspector-impl.cc View 5 chunks +29 lines, -28 lines 0 comments Download
M src/inspector/v8-inspector-session-impl.h View 4 chunks +5 lines, -3 lines 0 comments Download
M src/inspector/v8-inspector-session-impl.cc View 4 chunks +26 lines, -60 lines 0 comments Download
M src/inspector/v8-runtime-agent-impl.cc View 16 chunks +36 lines, -41 lines 0 comments Download

Dependent Patchsets:

Messages

Total messages: 22 (15 generated)
dgozman
Alexei, could you please take a look?
3 years, 7 months ago (2017-05-26 21:36:43 UTC) #10
kozy
lgtm https://codereview.chromium.org/2905543004/diff/20001/src/inspector/v8-inspector-impl.h File src/inspector/v8-inspector-impl.h (right): https://codereview.chromium.org/2905543004/diff/20001/src/inspector/v8-inspector-impl.h#newcode130 src/inspector/v8-inspector-impl.h:130: protocol::HashMap<int, std::unique_ptr<ContextByIdMap>>; Can we just store protocol::HashMap by ...
3 years, 6 months ago (2017-05-30 10:03:45 UTC) #11
dgozman
Thank you for review! https://codereview.chromium.org/2905543004/diff/20001/src/inspector/v8-inspector-impl.h File src/inspector/v8-inspector-impl.h (right): https://codereview.chromium.org/2905543004/diff/20001/src/inspector/v8-inspector-impl.h#newcode130 src/inspector/v8-inspector-impl.h:130: protocol::HashMap<int, std::unique_ptr<ContextByIdMap>>; On 2017/05/30 10:03:45, ...
3 years, 6 months ago (2017-05-30 18:08:04 UTC) #12
commit-bot: I haz the power
CQ is trying da patch. Follow status at: https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2905543004/20001
3 years, 6 months ago (2017-05-30 18:08:12 UTC) #14
commit-bot: I haz the power
Try jobs failed on following builders: v8_linux64_gyp_rel_ng on master.tryserver.v8 (JOB_FAILED, http://build.chromium.org/p/tryserver.v8/builders/v8_linux64_gyp_rel_ng/builds/19171) v8_linux64_gyp_rel_ng_triggered on master.tryserver.v8 (JOB_FAILED, ...
3 years, 6 months ago (2017-05-30 19:14:32 UTC) #16
commit-bot: I haz the power
CQ is trying da patch. Follow status at: https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2905543004/40001
3 years, 6 months ago (2017-05-30 21:59:25 UTC) #19
commit-bot: I haz the power
3 years, 6 months ago (2017-05-31 00:08:04 UTC) #22
Message was sent while issue was closed.
Committed patchset #3 (id:40001) as
https://chromium.googlesource.com/v8/v8/+/3655dc52b2f9c76c46a28a567ad5176c5d8...

Powered by Google App Engine
This is Rietveld 408576698