Update To 11.40.268.0
[platform/framework/web/crosswalk.git] / src / third_party / WebKit / Source / devtools / front_end / timeline / TimelineModel.js
index c136165..e6f499f 100644 (file)
@@ -86,7 +86,6 @@ WebInspector.TimelineModel.RecordType = {
 
     FunctionCall: "FunctionCall",
     GCEvent: "GCEvent",
-    JSFrame: "JSFrame",
 
     UpdateCounters: "UpdateCounters",
 
@@ -142,13 +141,15 @@ WebInspector.TimelineModel.forAllRecords = function(recordsArray, preOrderCallba
     return processRecords(recordsArray, 0);
 }
 
+WebInspector.TimelineModel.TransferChunkLengthBytes = 5000000;
+
 WebInspector.TimelineModel.prototype = {
     /**
-     * @param {boolean} captureStacks
+     * @param {boolean} captureCauses
      * @param {boolean} captureMemory
      * @param {boolean} capturePictures
      */
-    startRecording: function(captureStacks, captureMemory, capturePictures)
+    startRecording: function(captureCauses, captureMemory, capturePictures)
     {
     },
 
@@ -254,7 +255,7 @@ WebInspector.TimelineModel.prototype = {
 
     _createFileReader: function(file, delegate)
     {
-        return new WebInspector.ChunkedFileReader(file, WebInspector.TimelineModelImpl.TransferChunkLengthBytes, delegate);
+        return new WebInspector.ChunkedFileReader(file, WebInspector.TimelineModel.TransferChunkLengthBytes, delegate);
     },
 
     _createFileWriter: function()
@@ -308,7 +309,7 @@ WebInspector.TimelineModel.prototype = {
      */
     minimumRecordTime: function()
     {
-        return this._minimumRecordTime;
+        throw new Error("Not implemented.");
     },
 
     /**
@@ -316,7 +317,7 @@ WebInspector.TimelineModel.prototype = {
      */
     maximumRecordTime: function()
     {
-        return this._maximumRecordTime;
+        throw new Error("Not implemented.");
     },
 
     /**
@@ -328,20 +329,6 @@ WebInspector.TimelineModel.prototype = {
     },
 
     /**
-     * @param {!WebInspector.TimelineModel.Record} record
-     */
-    _updateBoundaries: function(record)
-    {
-        var startTime = record.startTime();
-        var endTime = record.endTime();
-
-        if (!this._minimumRecordTime || startTime < this._minimumRecordTime)
-            this._minimumRecordTime = startTime;
-        if (endTime > this._maximumRecordTime)
-            this._maximumRecordTime = endTime;
-    },
-
-    /**
      * @return {!Array.<!WebInspector.TimelineModel.Record>}
      */
     mainThreadTasks: function()