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

Unified Diff: third_party/WebKit/Source/devtools/front_end/timeline/TimelineModel.js

Issue 1755123003: Timeline: quit using Progress, introduce TimelineLifecycleDelegate (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 10 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/timeline/TimelineModel.js
diff --git a/third_party/WebKit/Source/devtools/front_end/timeline/TimelineModel.js b/third_party/WebKit/Source/devtools/front_end/timeline/TimelineModel.js
index 21905ea09899de53128b7f43962dd247f100d1a5..3f27d0cae4107ee29df179579a78d9529c7966fc 100644
--- a/third_party/WebKit/Source/devtools/front_end/timeline/TimelineModel.js
+++ b/third_party/WebKit/Source/devtools/front_end/timeline/TimelineModel.js
@@ -261,8 +261,6 @@ WebInspector.TimelineModel.forAllRecords = function(recordsArray, preOrderCallba
return processRecords(recordsArray, 0);
}
-WebInspector.TimelineModel.TransferChunkLengthBytes = 5000000;
-
WebInspector.TimelineModel.DevToolsMetadataEvent = {
TracingStartedInBrowser: "TracingStartedInBrowser",
TracingStartedInPage: "TracingStartedInPage",
@@ -660,6 +658,7 @@ WebInspector.TimelineModel.prototype = {
*/
startCollectingTraceEvents: function(fromFile)
{
+ this._loadedFromFile = fromFile;
this._tracingModel.reset();
this.reset();
this.dispatchEventToListeners(WebInspector.TimelineModel.Events.RecordingStarted, { fromFile: fromFile });

Powered by Google App Engine
This is Rietveld 408576698