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

Unified Diff: Source/devtools/front_end/FileSystemProjectDelegate.js

Issue 14672033: DevTools: Make snippets renaming work through SnippetsProjectDelegate. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: . Created 7 years, 7 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: Source/devtools/front_end/FileSystemProjectDelegate.js
diff --git a/Source/devtools/front_end/FileSystemProjectDelegate.js b/Source/devtools/front_end/FileSystemProjectDelegate.js
index 9c2cc28ae2cd5aa64eff2d68fb185fcc27d15cd1..9ddecdb3f6ce3025aafbdc398e8a8043809043c3 100644
--- a/Source/devtools/front_end/FileSystemProjectDelegate.js
+++ b/Source/devtools/front_end/FileSystemProjectDelegate.js
@@ -130,6 +130,24 @@ WebInspector.FileSystemProjectDelegate.prototype = {
},
/**
+ * @return {boolean}
+ */
+ canRename: function()
+ {
+ return false;
+ },
+
+ /**
+ * @param {Array.<string>} path
+ * @param {string} newName
+ * @param {function(boolean, string=)} callback
+ */
+ rename: function(path, newName, callback)
+ {
+ callback(false);
+ },
+
+ /**
* @param {Array.<string>} path
* @param {string} query
* @param {boolean} caseSensitive
« no previous file with comments | « Source/devtools/front_end/ContentProviderBasedProjectDelegate.js ('k') | Source/devtools/front_end/NavigatorView.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698