| Index: Source/devtools/front_end/workspace/UISourceCode.js
|
| diff --git a/Source/devtools/front_end/workspace/UISourceCode.js b/Source/devtools/front_end/workspace/UISourceCode.js
|
| index 0a2b564abe212a266887a760041a97fead4d1e83..bff5bdcc91e45a86794ae2f53d72b98b98195f90 100644
|
| --- a/Source/devtools/front_end/workspace/UISourceCode.js
|
| +++ b/Source/devtools/front_end/workspace/UISourceCode.js
|
| @@ -244,6 +244,19 @@ WebInspector.UISourceCode.prototype = {
|
| },
|
|
|
| /**
|
| + * @return {!Promise.<?string>}
|
| + */
|
| + requestContentPromise: function()
|
| + {
|
| + return new Promise(promiseConstructor.bind(this));
|
| +
|
| + function promiseConstructor(succ, fail)
|
| + {
|
| + this.requestContent(succ);
|
| + }
|
| + },
|
| +
|
| + /**
|
| * @param {function()} callback
|
| */
|
| _pushCheckContentUpdatedCallback: function(callback)
|
|
|