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

Unified Diff: Source/core/inspector/InspectorTimelineAgent.h

Issue 247513002: Timeline: produce session cookie when timeline is started (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: use IndetifiersFactory instead of directly getting processId Created 6 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: Source/core/inspector/InspectorTimelineAgent.h
diff --git a/Source/core/inspector/InspectorTimelineAgent.h b/Source/core/inspector/InspectorTimelineAgent.h
index 7429f68dec0c02728b3fa2e28657daede6364fc3..67a1052ec0e295fa52614f1e7635ffee59f224d3 100644
--- a/Source/core/inspector/InspectorTimelineAgent.h
+++ b/Source/core/inspector/InspectorTimelineAgent.h
@@ -132,7 +132,7 @@ public:
virtual void start(ErrorString*, const int* maxCallStackDepth, const bool* bufferEvents, const String* liveEvents, const bool* includeCounters, const bool* includeGPUEvents) OVERRIDE;
virtual void stop(ErrorString*, RefPtr<TypeBuilder::Array<TypeBuilder::Timeline::TimelineEvent> >& events) OVERRIDE;
- void setLayerTreeId(int layerTreeId) { m_layerTreeId = layerTreeId; }
+ void setLayerTreeId(int);
int id() const { return m_id; }
void didCommitLoad();
@@ -284,6 +284,9 @@ private:
long long nodeId(RenderObject*);
void releaseNodeIds();
+ void initializeSessionId();
+ String sessionId() const;
+
double timestamp();
LocalFrame* mainFrame() const;
« no previous file with comments | « LayoutTests/inspector/timeline/timeline-session-id-expected.txt ('k') | Source/core/inspector/InspectorTimelineAgent.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698