| Index: third_party/WebKit/Source/devtools/front_end/workspace/Workspace.js
|
| diff --git a/third_party/WebKit/Source/devtools/front_end/workspace/Workspace.js b/third_party/WebKit/Source/devtools/front_end/workspace/Workspace.js
|
| index 6b3ef8b1e1dd7bdf023b1c99debf2a45013e3288..a5f0c67000bc85d08d2f6e4d05460c27c9e740b2 100644
|
| --- a/third_party/WebKit/Source/devtools/front_end/workspace/Workspace.js
|
| +++ b/third_party/WebKit/Source/devtools/front_end/workspace/Workspace.js
|
| @@ -97,11 +97,6 @@ WebInspector.Project.prototype = {
|
| displayName: function() { },
|
|
|
| /**
|
| - * @return {string}
|
| - */
|
| - url: function() { },
|
| -
|
| - /**
|
| * @param {!WebInspector.UISourceCode} uiSourceCode
|
| * @param {function(?string)} callback
|
| */
|
| @@ -215,15 +210,13 @@ WebInspector.projectTypes = {
|
| * @param {!WebInspector.Workspace} workspace
|
| * @param {string} id
|
| * @param {!WebInspector.projectTypes} type
|
| - * @param {string} url
|
| * @param {string} displayName
|
| */
|
| -WebInspector.ProjectStore = function(workspace, id, type, url, displayName)
|
| +WebInspector.ProjectStore = function(workspace, id, type, displayName)
|
| {
|
| this._workspace = workspace;
|
| this._id = id;
|
| this._type = type;
|
| - this._url = url;
|
| this._displayName = displayName;
|
|
|
| /** @type {!Map.<string, !{uiSourceCode: !WebInspector.UISourceCode, index: number}>} */
|
| @@ -254,14 +247,6 @@ WebInspector.ProjectStore.prototype = {
|
| /**
|
| * @return {string}
|
| */
|
| - url: function()
|
| - {
|
| - return this._url;
|
| - },
|
| -
|
| - /**
|
| - * @return {string}
|
| - */
|
| displayName: function()
|
| {
|
| return this._displayName;
|
| @@ -276,15 +261,13 @@ WebInspector.ProjectStore.prototype = {
|
| },
|
|
|
| /**
|
| - * @param {string} parentPath
|
| - * @param {string} name
|
| - * @param {string} originURL
|
| + * @param {string} url
|
| * @param {!WebInspector.ResourceType} contentType
|
| * @return {!WebInspector.UISourceCode}
|
| */
|
| - createUISourceCode: function(parentPath, name, originURL, contentType)
|
| + createUISourceCode: function(url, contentType)
|
| {
|
| - return new WebInspector.UISourceCode(this._project, parentPath, name, originURL, contentType);
|
| + return new WebInspector.UISourceCode(this._project, url, contentType);
|
| },
|
|
|
| /**
|
|
|