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

Issue 2746333002: DevTools: move recurring flag into AsyncTask, control cancelation from embedder only. (Closed)

Created:
3 years, 9 months ago by pfeldman
Modified:
3 years, 9 months ago
Reviewers:
alph, dgozman, caseq
CC:
chromium-reviews, tzik, eae+blinkwatch, apavlov+blink_chromium.org, kinuko+worker_chromium.org, rwlbuis, caseq+blink_chromium.org, blink-reviews-dom_chromium.org, dglazkov+blink, devtools-reviews_chromium.org, blink-reviews, falken+watch_chromium.org, blink-worker-reviews_chromium.org, sof, nhiroki, lushnikov+blink_chromium.org, haraken, jsbell+idb_chromium.org, tyoshino+watch_chromium.org, shimazu+worker_chromium.org, pfeldman+blink_chromium.org, cmumford, horo+watch_chromium.org, blink-reviews-frames_chromium.org, kinuko+fileapi, kozyatinskiy+blink_chromium.org
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

DevTools: move recurring flag into AsyncTask, control cancelation from embedder only. BUG=701177 Review-Url: https://codereview.chromium.org/2746333002 Cr-Commit-Position: refs/heads/master@{#456636} Committed: https://chromium.googlesource.com/chromium/src/+/51fad280650c0155706ba734848b1e50864893ed

Patch Set 1 #

Total comments: 17

Patch Set 2 : review comments addressed #

Total comments: 11

Patch Set 3 : using _END now #

Unified diffs Side-by-side diffs Delta from patch set Stats (+108 lines, -76 lines) Patch
M third_party/WebKit/Source/core/dom/Document.cpp View 1 2 1 chunk +1 line, -1 line 0 comments Download
M third_party/WebKit/Source/core/dom/ScriptedIdleTaskController.cpp View 3 chunks +6 lines, -1 line 0 comments Download
M third_party/WebKit/Source/core/fileapi/FileReader.cpp View 2 chunks +2 lines, -2 lines 0 comments Download
M third_party/WebKit/Source/core/frame/DOMTimer.cpp View 2 chunks +3 lines, -2 lines 0 comments Download
M third_party/WebKit/Source/core/inspector/InspectorInstrumentation.h View 1 2 2 chunks +7 lines, -6 lines 0 comments Download
M third_party/WebKit/Source/core/inspector/InspectorInstrumentation.cpp View 1 2 1 chunk +21 lines, -13 lines 0 comments Download
M third_party/WebKit/Source/core/inspector/InspectorInstrumentation.idl View 1 chunk +1 line, -1 line 0 comments Download
M third_party/WebKit/Source/core/inspector/InspectorNetworkAgent.h View 1 chunk +2 lines, -1 line 0 comments Download
M third_party/WebKit/Source/core/inspector/InspectorNetworkAgent.cpp View 2 chunks +4 lines, -3 lines 0 comments Download
M third_party/WebKit/Source/core/inspector/InspectorTraceEvents.h View 1 chunk +2 lines, -1 line 0 comments Download
M third_party/WebKit/Source/core/inspector/InspectorTraceEvents.cpp View 1 chunk +2 lines, -1 line 0 comments Download
M third_party/WebKit/Source/core/workers/WorkerOrWorkletGlobalScope.cpp View 1 2 1 chunk +1 line, -1 line 0 comments Download
M third_party/WebKit/Source/core/xmlhttprequest/XMLHttpRequest.cpp View 1 2 2 chunks +4 lines, -5 lines 0 comments Download
M third_party/WebKit/Source/core/xmlhttprequest/XMLHttpRequestProgressEventThrottle.cpp View 1 2 3 chunks +3 lines, -3 lines 0 comments Download
M third_party/WebKit/Source/core/xmlhttprequest/XMLHttpRequestUpload.cpp View 1 2 3 chunks +3 lines, -3 lines 0 comments Download
M third_party/WebKit/Source/devtools/front_end/perf_ui/FlameChart.js View 1 chunk +25 lines, -10 lines 0 comments Download
M third_party/WebKit/Source/devtools/front_end/timeline/TimelineFlameChart.js View 1 2 2 chunks +2 lines, -2 lines 0 comments Download
M third_party/WebKit/Source/modules/filesystem/DOMFileSystem.cpp View 1 chunk +1 line, -2 lines 0 comments Download
M third_party/WebKit/Source/modules/indexeddb/WebIDBCallbacksImpl.cpp View 13 chunks +15 lines, -13 lines 0 comments Download
M third_party/WebKit/Source/modules/webdatabase/SQLTransaction.cpp View 4 chunks +3 lines, -5 lines 0 comments Download

Messages

Total messages: 22 (10 generated)
pfeldman
3 years, 9 months ago (2017-03-14 00:00:25 UTC) #2
alph
https://codereview.chromium.org/2746333002/diff/1/third_party/WebKit/Source/core/inspector/InspectorInstrumentation.cpp File third_party/WebKit/Source/core/inspector/InspectorInstrumentation.cpp (right): https://codereview.chromium.org/2746333002/diff/1/third_party/WebKit/Source/core/inspector/InspectorInstrumentation.cpp#newcode77 third_party/WebKit/Source/core/inspector/InspectorInstrumentation.cpp:77: m_recurring(!!step) { drop !! https://codereview.chromium.org/2746333002/diff/1/third_party/WebKit/Source/core/inspector/InspectorInstrumentation.cpp#newcode78 third_party/WebKit/Source/core/inspector/InspectorInstrumentation.cpp:78: TRACE_EVENT_FLOW_STEP0("devtools.timeline.async", "AsyncTask", task, ...
3 years, 9 months ago (2017-03-14 00:39:38 UTC) #3
pfeldman
https://codereview.chromium.org/2746333002/diff/1/third_party/WebKit/Source/core/inspector/InspectorInstrumentation.cpp File third_party/WebKit/Source/core/inspector/InspectorInstrumentation.cpp (right): https://codereview.chromium.org/2746333002/diff/1/third_party/WebKit/Source/core/inspector/InspectorInstrumentation.cpp#newcode77 third_party/WebKit/Source/core/inspector/InspectorInstrumentation.cpp:77: m_recurring(!!step) { On 2017/03/14 00:39:37, alph wrote: > drop ...
3 years, 9 months ago (2017-03-14 01:15:11 UTC) #4
caseq
https://codereview.chromium.org/2746333002/diff/1/third_party/WebKit/Source/devtools/front_end/timeline/TimelineFlameChart.js File third_party/WebKit/Source/devtools/front_end/timeline/TimelineFlameChart.js (right): https://codereview.chromium.org/2746333002/diff/1/third_party/WebKit/Source/devtools/front_end/timeline/TimelineFlameChart.js#newcode748 third_party/WebKit/Source/devtools/front_end/timeline/TimelineFlameChart.js:748: if (event.args.name === 'Image') This is supposed to work ...
3 years, 9 months ago (2017-03-14 01:15:43 UTC) #6
alph
lgtm https://codereview.chromium.org/2746333002/diff/20001/third_party/WebKit/Source/core/inspector/InspectorInstrumentation.cpp File third_party/WebKit/Source/core/inspector/InspectorInstrumentation.cpp (right): https://codereview.chromium.org/2746333002/diff/20001/third_party/WebKit/Source/core/inspector/InspectorInstrumentation.cpp#newcode80 third_party/WebKit/Source/core/inspector/InspectorInstrumentation.cpp:80: if (m_debugger) Isn't is always true? https://codereview.chromium.org/2746333002/diff/20001/third_party/WebKit/Source/core/inspector/InspectorInstrumentation.cpp#newcode81 third_party/WebKit/Source/core/inspector/InspectorInstrumentation.cpp:81: ...
3 years, 9 months ago (2017-03-14 01:40:42 UTC) #7
pfeldman
> > setEnabled is optional, so no. it is just muting the raii. > > ...
3 years, 9 months ago (2017-03-14 01:42:35 UTC) #8
caseq
https://codereview.chromium.org/2746333002/diff/20001/third_party/WebKit/Source/core/inspector/InspectorInstrumentation.cpp File third_party/WebKit/Source/core/inspector/InspectorInstrumentation.cpp (right): https://codereview.chromium.org/2746333002/diff/20001/third_party/WebKit/Source/core/inspector/InspectorInstrumentation.cpp#newcode78 third_party/WebKit/Source/core/inspector/InspectorInstrumentation.cpp:78: TRACE_EVENT_FLOW_STEP0("devtools.timeline.async", "AsyncTask", task, I think we eventually need to ...
3 years, 9 months ago (2017-03-14 02:09:44 UTC) #9
pfeldman
https://codereview.chromium.org/2746333002/diff/20001/third_party/WebKit/Source/core/inspector/InspectorInstrumentation.cpp File third_party/WebKit/Source/core/inspector/InspectorInstrumentation.cpp (right): https://codereview.chromium.org/2746333002/diff/20001/third_party/WebKit/Source/core/inspector/InspectorInstrumentation.cpp#newcode78 third_party/WebKit/Source/core/inspector/InspectorInstrumentation.cpp:78: TRACE_EVENT_FLOW_STEP0("devtools.timeline.async", "AsyncTask", task, On 2017/03/14 02:09:43, caseq wrote: > ...
3 years, 9 months ago (2017-03-14 02:29:25 UTC) #10
caseq
https://codereview.chromium.org/2746333002/diff/20001/third_party/WebKit/Source/devtools/front_end/timeline/TimelineFlameChart.js File third_party/WebKit/Source/devtools/front_end/timeline/TimelineFlameChart.js (right): https://codereview.chromium.org/2746333002/diff/20001/third_party/WebKit/Source/devtools/front_end/timeline/TimelineFlameChart.js#newcode770 third_party/WebKit/Source/devtools/front_end/timeline/TimelineFlameChart.js:770: pushEndFlow(event, this._flowEventIndexById.get(event.id)); btw, I think you shouldn't use raw ...
3 years, 9 months ago (2017-03-14 02:44:47 UTC) #11
caseq
lgtm
3 years, 9 months ago (2017-03-14 05:10:17 UTC) #14
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/2746333002/40001
3 years, 9 months ago (2017-03-14 06:32:01 UTC) #19
commit-bot: I haz the power
3 years, 9 months ago (2017-03-14 06:37:18 UTC) #22
Message was sent while issue was closed.
Committed patchset #3 (id:40001) as
https://chromium.googlesource.com/chromium/src/+/51fad280650c0155706ba734848b...

Powered by Google App Engine
This is Rietveld 408576698