Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(472)

Unified Diff: third_party/WebKit/Source/devtools/front_end/workspace/FileSystemMapping.js

Issue 1564113003: DevTools: merge uisourcecode's url-alike members. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: review comments addressed Created 4 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: third_party/WebKit/Source/devtools/front_end/workspace/FileSystemMapping.js
diff --git a/third_party/WebKit/Source/devtools/front_end/workspace/FileSystemMapping.js b/third_party/WebKit/Source/devtools/front_end/workspace/FileSystemMapping.js
index f85b706043a45a4960d0d721ace3379e9db67d19..f1a185167cde32a2eb2a6e0c34340aee91551a66 100644
--- a/third_party/WebKit/Source/devtools/front_end/workspace/FileSystemMapping.js
+++ b/third_party/WebKit/Source/devtools/front_end/workspace/FileSystemMapping.js
@@ -249,7 +249,7 @@ WebInspector.FileSystemMapping.prototype = {
* @param {string} url
* @return {boolean}
*/
- hasMappingForURL: function(url)
+ hasMappingForNetworkURL: function(url)
{
return !!this._mappingEntryForURL(url);
},
@@ -274,7 +274,7 @@ WebInspector.FileSystemMapping.prototype = {
* @param {string} filePath
* @return {string}
*/
- urlForPath: function(fileSystemPath, filePath)
+ networkURLForFileSystemURL: function(fileSystemPath, filePath)
{
var relativePath = filePath.substring(fileSystemPath.length);
var entry = this._mappingEntryForPath(fileSystemPath, relativePath);

Powered by Google App Engine
This is Rietveld 408576698