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

Issue 247513002: Timeline: produce session cookie when timeline is started (Closed)

Created:
6 years, 8 months ago by caseq
Modified:
6 years, 8 months ago
Reviewers:
yurys, pfeldman
CC:
blink-reviews, caseq+blink_chromium.org, loislo+blink_chromium.org, eustas+blink_chromium.org, malch+blink_chromium.org, alph+blink_chromium.org, yurys+blink_chromium.org, lushnikov+blink_chromium.org, vsevik+blink_chromium.org, pfeldman+blink_chromium.org, paulirish+reviews_chromium.org, apavlov+blink_chromium.org, devtools-reviews_chromium.org, aandrey+blink_chromium.org
Visibility:
Public.

Description

Timeline: produce session cookie when timeline is started ... so we can filter out trace events coming from the inspected page. Also, report LTH id so we can match trace events emitted on the compositor side. BUG=361045

Patch Set 1 #

Total comments: 3

Patch Set 2 : use IndetifiersFactory instead of directly getting processId #

Unified diffs Side-by-side diffs Delta from patch set Stats (+112 lines, -5 lines) Patch
A LayoutTests/inspector/timeline/timeline-session-id.html View 1 chunk +54 lines, -0 lines 0 comments Download
A LayoutTests/inspector/timeline/timeline-session-id-expected.txt View 1 chunk +5 lines, -0 lines 0 comments Download
M Source/core/inspector/InspectorTimelineAgent.h View 2 chunks +4 lines, -1 line 0 comments Download
M Source/core/inspector/InspectorTimelineAgent.cpp View 1 6 chunks +28 lines, -2 lines 0 comments Download
M Source/devtools/front_end/TimelineManager.js View 3 chunks +12 lines, -1 line 0 comments Download
M Source/devtools/front_end/TracingModel.js View 1 chunk +8 lines, -1 line 0 comments Download
M Source/devtools/protocol.json View 1 chunk +1 line, -0 lines 0 comments Download

Messages

Total messages: 7 (0 generated)
caseq
6 years, 8 months ago (2014-04-22 15:09:48 UTC) #1
pfeldman
lgtm https://codereview.chromium.org/247513002/diff/1/Source/core/inspector/InspectorTimelineAgent.cpp File Source/core/inspector/InspectorTimelineAgent.cpp (right): https://codereview.chromium.org/247513002/diff/1/Source/core/inspector/InspectorTimelineAgent.cpp#newcode373 Source/core/inspector/InspectorTimelineAgent.cpp:373: if (m_layerTreeId) { call setLayerTreeId instead?
6 years, 8 months ago (2014-04-22 17:59:50 UTC) #2
yurys
https://codereview.chromium.org/247513002/diff/1/Source/core/inspector/InspectorTimelineAgent.cpp File Source/core/inspector/InspectorTimelineAgent.cpp (right): https://codereview.chromium.org/247513002/diff/1/Source/core/inspector/InspectorTimelineAgent.cpp#newcode465 Source/core/inspector/InspectorTimelineAgent.cpp:465: String token = String::number(getCurrentProcessID()) + "." + String::number(++lastTimelineSessionId); What ...
6 years, 8 months ago (2014-04-23 07:05:38 UTC) #3
caseq
On 2014/04/23 07:05:38, yurys wrote: > https://codereview.chromium.org/247513002/diff/1/Source/core/inspector/InspectorTimelineAgent.cpp > File Source/core/inspector/InspectorTimelineAgent.cpp (right): > > https://codereview.chromium.org/247513002/diff/1/Source/core/inspector/InspectorTimelineAgent.cpp#newcode465 > ...
6 years, 8 months ago (2014-04-23 08:31:50 UTC) #4
yurys
lgtm
6 years, 8 months ago (2014-04-23 09:36:18 UTC) #5
pfeldman
Do you want to land this?
6 years, 8 months ago (2014-04-25 10:49:12 UTC) #6
caseq
6 years, 8 months ago (2014-04-25 10:56:16 UTC) #7
On 2014/04/25 10:49:12, pfeldman wrote:
> Do you want to land this?

Nope, closing this one -- this was re-implemented as
https://codereview.chromium.org/254613002/

Powered by Google App Engine
This is Rietveld 408576698