| Index: Source/devtools/front_end/TracingAgent.js
|
| diff --git a/Source/devtools/front_end/TracingAgent.js b/Source/devtools/front_end/TracingAgent.js
|
| index 0263fbd3fe33263371042033c31dc3fefb679178..9a7f1d615afbc48a97335ccf5e3a9d7153c499e0 100644
|
| --- a/Source/devtools/front_end/TracingAgent.js
|
| +++ b/Source/devtools/front_end/TracingAgent.js
|
| @@ -40,11 +40,12 @@ WebInspector.TracingAgent = function()
|
| WebInspector.TracingAgent.prototype = {
|
| /**
|
| * @param {string} categoryPatterns
|
| + * @param {string} options
|
| * @param {function(?string)=} callback
|
| */
|
| - start: function(categoryPatterns, callback)
|
| + start: function(categoryPatterns, options, callback)
|
| {
|
| - TracingAgent.start(categoryPatterns, callback);
|
| + TracingAgent.start(categoryPatterns, options, callback);
|
| this._active = true;
|
| this._events = [];
|
| },
|
| @@ -62,6 +63,9 @@ WebInspector.TracingAgent.prototype = {
|
| TracingAgent.end();
|
| },
|
|
|
| + /**
|
| + * @return {!Array.<{cat: string, args: Object, ph: string, ts: number}>}
|
| + */
|
| events: function()
|
| {
|
| return this._events;
|
| @@ -103,3 +107,8 @@ WebInspector.TracingDispatcher.prototype = {
|
| this._tracingAgent._tracingComplete();
|
| }
|
| }
|
| +
|
| +/**
|
| + * @type {WebInspector.TracingAgent}
|
| + */
|
| +WebInspector.tracingAgent;
|
|
|