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

Issue 1899933003: [DevTools] Introduce InspectorSession. (Closed)

Created:
4 years, 8 months ago by dgozman
Modified:
4 years, 8 months ago
Reviewers:
pfeldman
CC:
chromium-reviews, caseq+blink_chromium.org, lushnikov+blink_chromium.org, pfeldman+blink_chromium.org, apavlov+blink_chromium.org, devtools-reviews_chromium.org, blink-reviews, sergeyv+blink_chromium.org, kozyatinskiy+blink_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

[DevTools] Introduce InspectorSession. Session manages agents list, does bookkeeping and handles messages. Session only exists while client is attached. There will be one session per client in multi-client scenario. Simplified InspectorAgent interface along the way. BUG=590878 Committed: https://crrev.com/8d00b5cf8ca521e1edd1c86010e4e09c3a0ee5c8 Cr-Commit-Position: refs/heads/master@{#388569}

Patch Set 1 #

Total comments: 2

Patch Set 2 : less methods in InspectorAgent #

Patch Set 3 : separate file #

Patch Set 4 : typos #

Patch Set 5 : export, comment #

Unified diffs Side-by-side diffs Delta from patch set Stats (+363 lines, -462 lines) Patch
M third_party/WebKit/Source/core/core.gypi View 1 2 3 2 chunks +3 lines, -1 line 0 comments Download
M third_party/WebKit/Source/core/inspector/InspectorBaseAgent.h View 1 2 3 2 chunks +27 lines, -56 lines 0 comments Download
M third_party/WebKit/Source/core/inspector/InspectorBaseAgent.cpp View 1 2 1 chunk +0 lines, -151 lines 0 comments Download
M third_party/WebKit/Source/core/inspector/InspectorDebuggerAgent.h View 1 1 chunk +2 lines, -3 lines 0 comments Download
M third_party/WebKit/Source/core/inspector/InspectorDebuggerAgent.cpp View 1 1 chunk +5 lines, -10 lines 0 comments Download
M third_party/WebKit/Source/core/inspector/InspectorHeapProfilerAgent.h View 1 1 chunk +2 lines, -3 lines 0 comments Download
M third_party/WebKit/Source/core/inspector/InspectorHeapProfilerAgent.cpp View 1 1 chunk +5 lines, -10 lines 0 comments Download
M third_party/WebKit/Source/core/inspector/InspectorProfilerAgent.h View 1 1 chunk +2 lines, -3 lines 0 comments Download
M third_party/WebKit/Source/core/inspector/InspectorProfilerAgent.cpp View 1 1 chunk +5 lines, -10 lines 0 comments Download
M third_party/WebKit/Source/core/inspector/InspectorRuntimeAgent.h View 1 1 chunk +2 lines, -3 lines 0 comments Download
M third_party/WebKit/Source/core/inspector/InspectorRuntimeAgent.cpp View 1 1 chunk +5 lines, -10 lines 0 comments Download
A third_party/WebKit/Source/core/inspector/InspectorSession.h View 1 2 3 4 1 chunk +72 lines, -0 lines 0 comments Download
A third_party/WebKit/Source/core/inspector/InspectorSession.cpp View 1 2 3 4 1 chunk +132 lines, -0 lines 0 comments Download
M third_party/WebKit/Source/core/inspector/WorkerInspectorController.h View 1 2 3 3 chunks +5 lines, -13 lines 0 comments Download
M third_party/WebKit/Source/core/inspector/WorkerInspectorController.cpp View 1 2 3 4 3 chunks +23 lines, -48 lines 0 comments Download
M third_party/WebKit/Source/web/WebDevToolsAgentImpl.h View 1 2 3 4 chunks +9 lines, -18 lines 0 comments Download
M third_party/WebKit/Source/web/WebDevToolsAgentImpl.cpp View 1 2 3 4 14 chunks +64 lines, -123 lines 0 comments Download

Dependent Patchsets:

Messages

Total messages: 18 (10 generated)
dgozman
Take a look please.
4 years, 8 months ago (2016-04-19 21:43:39 UTC) #5
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1899933003/60001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1899933003/60001
4 years, 8 months ago (2016-04-19 21:44:28 UTC) #7
commit-bot: I haz the power
Dry run: Try jobs failed on following builders: win_chromium_compile_dbg_ng on tryserver.chromium.win (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.win/builders/win_chromium_compile_dbg_ng/builds/177221)
4 years, 8 months ago (2016-04-19 23:04:56 UTC) #9
pfeldman
lgtm https://codereview.chromium.org/1899933003/diff/1/third_party/WebKit/Source/core/inspector/InspectorBaseAgent.h File third_party/WebKit/Source/core/inspector/InspectorBaseAgent.h (right): https://codereview.chromium.org/1899933003/diff/1/third_party/WebKit/Source/core/inspector/InspectorBaseAgent.h#newcode101 third_party/WebKit/Source/core/inspector/InspectorBaseAgent.h:101: void sendProtocolResponse(int sessionId, int callId, PassOwnPtr<protocol::DictionaryValue> message) override; ...
4 years, 8 months ago (2016-04-20 18:52:21 UTC) #10
dgozman
https://codereview.chromium.org/1899933003/diff/1/third_party/WebKit/Source/core/inspector/InspectorBaseAgent.h File third_party/WebKit/Source/core/inspector/InspectorBaseAgent.h (right): https://codereview.chromium.org/1899933003/diff/1/third_party/WebKit/Source/core/inspector/InspectorBaseAgent.h#newcode101 third_party/WebKit/Source/core/inspector/InspectorBaseAgent.h:101: void sendProtocolResponse(int sessionId, int callId, PassOwnPtr<protocol::DictionaryValue> message) override; On ...
4 years, 8 months ago (2016-04-20 19:19:52 UTC) #11
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1899933003/80001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1899933003/80001
4 years, 8 months ago (2016-04-20 19:20:27 UTC) #14
commit-bot: I haz the power
Committed patchset #5 (id:80001)
4 years, 8 months ago (2016-04-20 20:33:34 UTC) #16
commit-bot: I haz the power
4 years, 8 months ago (2016-04-22 19:26:13 UTC) #18
Message was sent while issue was closed.
Patchset 5 (id:??) landed as
https://crrev.com/8d00b5cf8ca521e1edd1c86010e4e09c3a0ee5c8
Cr-Commit-Position: refs/heads/master@{#388569}

Powered by Google App Engine
This is Rietveld 408576698