This change prepares Workspace and Project to migration to project-per-domain mode for network based projects.
Renamed WebInspector.WorkspaceProvider to WebInspector.ProjectDelegate.
Renamed Project.name() to Project.id() and delegated it to project delegate.
Added Project.displayName() method that is delegated to project delegate..
SimpleWorkspaceProvider is now responsible for creation of SimpleWorkspaceDelegates and isolates various mappings from Project/ProjectDelegate concept.
UISourceCode is now created based on path in the project.
UISourceCode uri is now calculated based on project and path (right now uri is equal to path).
Created attachment 187568 [details]
Comment on attachment 187568 [details]
View in context: https://bugs.webkit.org/attachment.cgi?id=187568&action=review
> + Added Project.displayName() method that is delegated to project delegate..
Duplicate trailing .
> + return this._path;
> + type: function()
> + return this._uiSourceCodes[path];
return ... || null; for the @return type conformance.
Committed r142474: <http://trac.webkit.org/changeset/142474>