| Index: third_party/WebKit/Source/devtools/front_end/workspace/UISourceCode.js
|
| diff --git a/third_party/WebKit/Source/devtools/front_end/workspace/UISourceCode.js b/third_party/WebKit/Source/devtools/front_end/workspace/UISourceCode.js
|
| index c6ddae8cd4a6b72ff2bfc1e65d87e64c14382963..3942369a391dd3a8caafedf3443b2cbb1603ca51 100644
|
| --- a/third_party/WebKit/Source/devtools/front_end/workspace/UISourceCode.js
|
| +++ b/third_party/WebKit/Source/devtools/front_end/workspace/UISourceCode.js
|
| @@ -75,6 +75,14 @@ WebInspector.UISourceCode.Events = {
|
|
|
| WebInspector.UISourceCode.prototype = {
|
| /**
|
| + * @return {!Promise<?WebInspector.UISourceCodeMetadata>}
|
| + */
|
| + requestMetadata: function()
|
| + {
|
| + return this._project.requestMetadata(this);
|
| + },
|
| +
|
| + /**
|
| * @return {string}
|
| */
|
| name: function()
|
| @@ -963,3 +971,14 @@ WebInspector.UISourceCode.LineMarker.prototype = {
|
| return this._data;
|
| }
|
| }
|
| +
|
| +/**
|
| + * @constructor
|
| + * @param {?Date} modificationTime
|
| + * @param {?number} contentSize
|
| + */
|
| +WebInspector.UISourceCodeMetadata = function(modificationTime, contentSize)
|
| +{
|
| + this.modificationTime = modificationTime;
|
| + this.contentSize = contentSize;
|
| +}
|
|
|