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

Issue 2248553002: Add Inspector Agent for WebPerf, add probes in V8ScriptRunner. (Closed)

Created:
4 years, 4 months ago by panicker
Modified:
4 years, 4 months ago
Reviewers:
haraken, caseq, 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, blink-reviews-bindings_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

Add Inspector Agent for WebPerf, add probes in V8ScriptRunner. This will be used by Long Task Observer. BUG=635596 Committed: https://crrev.com/7b902d5b18efcdab2c996c619a342d18e16221c3 Cr-Commit-Position: refs/heads/master@{#412406}

Patch Set 1 #

Total comments: 6

Patch Set 2 : address code review comments #

Total comments: 1

Patch Set 3 : remove inheritance from InspectorAgent #

Total comments: 2
Unified diffs Side-by-side diffs Delta from patch set Stats (+82 lines, -0 lines) Patch
M third_party/WebKit/Source/bindings/core/v8/V8ScriptRunner.cpp View 1 3 chunks +6 lines, -0 lines 0 comments Download
M third_party/WebKit/Source/core/core.gypi View 1 chunk +2 lines, -0 lines 0 comments Download
M third_party/WebKit/Source/core/inspector/InspectorInstrumentation.idl View 1 1 chunk +6 lines, -0 lines 0 comments Download
A third_party/WebKit/Source/core/inspector/InspectorWebPerfAgent.h View 1 2 1 chunk +34 lines, -0 lines 2 comments Download
A third_party/WebKit/Source/core/inspector/InspectorWebPerfAgent.cpp View 1 2 1 chunk +34 lines, -0 lines 0 comments Download

Messages

Total messages: 25 (12 generated)
panicker
Hey Andrey, mind reviewing this CL? I have a question about why methods in the ...
4 years, 4 months ago (2016-08-15 15:18:25 UTC) #2
pfeldman
https://codereview.chromium.org/2248553002/diff/1/third_party/WebKit/Source/bindings/core/v8/V8ScriptRunner.cpp File third_party/WebKit/Source/bindings/core/v8/V8ScriptRunner.cpp (right): https://codereview.chromium.org/2248553002/diff/1/third_party/WebKit/Source/bindings/core/v8/V8ScriptRunner.cpp#newcode407 third_party/WebKit/Source/bindings/core/v8/V8ScriptRunner.cpp:407: InspectorInstrumentation::willExecuteScript( Here and below: you can pass |context| here, ...
4 years, 4 months ago (2016-08-15 17:59:55 UTC) #4
panicker
Thanks for the review! PTAL. https://codereview.chromium.org/2248553002/diff/1/third_party/WebKit/Source/bindings/core/v8/V8ScriptRunner.cpp File third_party/WebKit/Source/bindings/core/v8/V8ScriptRunner.cpp (right): https://codereview.chromium.org/2248553002/diff/1/third_party/WebKit/Source/bindings/core/v8/V8ScriptRunner.cpp#newcode407 third_party/WebKit/Source/bindings/core/v8/V8ScriptRunner.cpp:407: InspectorInstrumentation::willExecuteScript( On 2016/08/15 17:59:55, ...
4 years, 4 months ago (2016-08-15 20:48:55 UTC) #5
pfeldman
lgtm
4 years, 4 months ago (2016-08-15 21:10:12 UTC) #6
caseq
lgtm https://codereview.chromium.org/2248553002/diff/20001/third_party/WebKit/Source/core/inspector/InspectorWebPerfAgent.h File third_party/WebKit/Source/core/inspector/InspectorWebPerfAgent.h (right): https://codereview.chromium.org/2248553002/diff/20001/third_party/WebKit/Source/core/inspector/InspectorWebPerfAgent.h#newcode18 third_party/WebKit/Source/core/inspector/InspectorWebPerfAgent.h:18: class CORE_EXPORT InspectorWebPerfAgent final : public InspectorAgent { ...
4 years, 4 months ago (2016-08-16 18:19:55 UTC) #11
panicker
On 2016/08/16 18:19:55, caseq wrote: > lgtm > > https://codereview.chromium.org/2248553002/diff/20001/third_party/WebKit/Source/core/inspector/InspectorWebPerfAgent.h > File third_party/WebKit/Source/core/inspector/InspectorWebPerfAgent.h (right): > ...
4 years, 4 months ago (2016-08-16 20:28:36 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/2248553002/40001
4 years, 4 months ago (2016-08-16 20:31:22 UTC) #15
commit-bot: I haz the power
Try jobs failed on following builders: linux_chromium_rel_ng on master.tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/linux_chromium_rel_ng/builds/280952)
4 years, 4 months ago (2016-08-16 23:09:32 UTC) #17
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/2248553002/40001
4 years, 4 months ago (2016-08-17 00:00:28 UTC) #19
haraken
Oilpan part LGTM https://codereview.chromium.org/2248553002/diff/40001/third_party/WebKit/Source/core/inspector/InspectorWebPerfAgent.h File third_party/WebKit/Source/core/inspector/InspectorWebPerfAgent.h (right): https://codereview.chromium.org/2248553002/diff/40001/third_party/WebKit/Source/core/inspector/InspectorWebPerfAgent.h#newcode18 third_party/WebKit/Source/core/inspector/InspectorWebPerfAgent.h:18: class CORE_EXPORT InspectorWebPerfAgent final : public ...
4 years, 4 months ago (2016-08-17 01:05:20 UTC) #21
commit-bot: I haz the power
Committed patchset #3 (id:40001)
4 years, 4 months ago (2016-08-17 01:12:43 UTC) #22
commit-bot: I haz the power
Patchset 3 (id:??) landed as https://crrev.com/7b902d5b18efcdab2c996c619a342d18e16221c3 Cr-Commit-Position: refs/heads/master@{#412406}
4 years, 4 months ago (2016-08-17 01:14:43 UTC) #24
panicker
4 years, 4 months ago (2016-08-17 18:08:33 UTC) #25
Message was sent while issue was closed.
On 2016/08/17 01:05:20, haraken wrote:
> Oilpan part LGTM
> 
>
https://codereview.chromium.org/2248553002/diff/40001/third_party/WebKit/Sour...
> File third_party/WebKit/Source/core/inspector/InspectorWebPerfAgent.h (right):
> 
>
https://codereview.chromium.org/2248553002/diff/40001/third_party/WebKit/Sour...
> third_party/WebKit/Source/core/inspector/InspectorWebPerfAgent.h:18: class
> CORE_EXPORT InspectorWebPerfAgent final : public
> GarbageCollectedFinalized<InspectorWebPerfAgent> {
> 
> GarbageCollectedFinalized => GarbageCollected
> 
>
https://codereview.chromium.org/2248553002/diff/40001/third_party/WebKit/Sour...
> third_party/WebKit/Source/core/inspector/InspectorWebPerfAgent.h:21:
> InspectorWebPerfAgent(InspectedFrames*);
> 
> Add explicit

I'll send a follow up CL with the fixes (as this was already in commit queue).
Thanks for the comments!

Powered by Google App Engine
This is Rietveld 408576698