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

Unified Diff: third_party/WebKit/Source/devtools/front_end/sdk/TracingManager.js

Issue 2218603003: Timeline: show white overlay till page being reloaded paints (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: cleanup Created 4 years, 4 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: third_party/WebKit/Source/devtools/front_end/sdk/TracingManager.js
diff --git a/third_party/WebKit/Source/devtools/front_end/sdk/TracingManager.js b/third_party/WebKit/Source/devtools/front_end/sdk/TracingManager.js
index d5838a7dfe1dd2f0d27b592d0e04bd87cf9c91bc..ae00ec7eb3404efc5a0fb99dc3e3fa34115c85c7 100644
--- a/third_party/WebKit/Source/devtools/front_end/sdk/TracingManager.js
+++ b/third_party/WebKit/Source/devtools/front_end/sdk/TracingManager.js
@@ -111,15 +111,16 @@ WebInspector.TracingManager.prototype = {
* @param {!WebInspector.TracingManagerClient} client
* @param {string} categoryFilter
* @param {string} options
+ * @param {string=} reloadingBanner
* @param {function(?string)=} callback
*/
- start: function(client, categoryFilter, options, callback)
+ start: function(client, categoryFilter, options, reloadingBanner, callback)
{
if (this._activeClient)
throw new Error("Tracing is already started");
var bufferUsageReportingIntervalMs = 500;
this._activeClient = client;
- this._target.tracingAgent().start(categoryFilter, options, bufferUsageReportingIntervalMs, WebInspector.TracingManager.TransferMode.ReportEvents, callback);
+ this._target.tracingAgent().start(categoryFilter, options, bufferUsageReportingIntervalMs, WebInspector.TracingManager.TransferMode.ReportEvents, undefined, reloadingBanner, callback);
this._activeClient.tracingStarted();
},

Powered by Google App Engine
This is Rietveld 408576698