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

Side by Side Diff: Source/devtools/front_end/TracingModel.js

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 unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « Source/devtools/front_end/TimelineManager.js ('k') | Source/devtools/protocol.json » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 /* 1 /*
2 * Copyright 2014 The Chromium Authors. All rights reserved. 2 * Copyright 2014 The Chromium Authors. All rights reserved.
3 * Use of this source code is governed by a BSD-style license that can be 3 * Use of this source code is governed by a BSD-style license that can be
4 * found in the LICENSE file. 4 * found in the LICENSE file.
5 */ 5 */
6 6
7 /** 7 /**
8 * @constructor 8 * @constructor
9 * @extends {WebInspector.Object} 9 * @extends {WebInspector.Object}
10 */ 10 */
(...skipping 45 matching lines...) Expand 10 before | Expand all | Expand 10 after
56 CreateObject: "N", 56 CreateObject: "N",
57 SnapshotObject: "O", 57 SnapshotObject: "O",
58 DeleteObject: "D" 58 DeleteObject: "D"
59 }; 59 };
60 60
61 WebInspector.TracingModel.MetadataEvent = { 61 WebInspector.TracingModel.MetadataEvent = {
62 ProcessSortIndex: "process_sort_index", 62 ProcessSortIndex: "process_sort_index",
63 ProcessName: "process_name", 63 ProcessName: "process_name",
64 ThreadSortIndex: "thread_sort_index", 64 ThreadSortIndex: "thread_sort_index",
65 ThreadName: "thread_name" 65 ThreadName: "thread_name"
66 } 66 };
67
68 WebInspector.TracingModel.DevToolsMetadataEventCategory = "disabled-by-default-d evtools.timeline";
69
70 WebInspector.TracingModel.DevToolsMetadataEvent = {
71 TimelineStarted: "TimelineStarted",
72 SetLayerTreeId: "SetLayerTreeId"
73 };
67 74
68 WebInspector.TracingModel.prototype = { 75 WebInspector.TracingModel.prototype = {
69 /** 76 /**
70 * @param {string} categoryPatterns 77 * @param {string} categoryPatterns
71 * @param {string} options 78 * @param {string} options
72 * @param {function(?string)=} callback 79 * @param {function(?string)=} callback
73 */ 80 */
74 start: function(categoryPatterns, options, callback) 81 start: function(categoryPatterns, options, callback)
75 { 82 {
76 this.reset(); 83 this.reset();
(...skipping 364 matching lines...) Expand 10 before | Expand all | Expand 10 after
441 dataCollected: function(data) 448 dataCollected: function(data)
442 { 449 {
443 this._tracingModel._eventsCollected(data); 450 this._tracingModel._eventsCollected(data);
444 }, 451 },
445 452
446 tracingComplete: function() 453 tracingComplete: function()
447 { 454 {
448 this._tracingModel._tracingComplete(); 455 this._tracingModel._tracingComplete();
449 } 456 }
450 } 457 }
OLDNEW
« no previous file with comments | « Source/devtools/front_end/TimelineManager.js ('k') | Source/devtools/protocol.json » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698