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

Unified Diff: Source/devtools/front_end/sdk/Workspace.js

Issue 376163002: DevTools: Search across files should work for file:folderName queries. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Added test Created 6 years, 5 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/sdk/Workspace.js
diff --git a/Source/devtools/front_end/sdk/Workspace.js b/Source/devtools/front_end/sdk/Workspace.js
index 43888a4f7dfe91b577d618e5cc9afb7c38e73fd9..129d7cfbbf0eb3f16abfe4d7f0cadc7b9a1b9c74 100644
--- a/Source/devtools/front_end/sdk/Workspace.js
+++ b/Source/devtools/front_end/sdk/Workspace.js
@@ -134,10 +134,11 @@ WebInspector.ProjectDelegate.prototype = {
/**
* @param {!WebInspector.ProjectSearchConfig} searchConfig
+ * @param {!Array.<string>} filesMathingFileQuery
* @param {!WebInspector.Progress} progress
* @param {function(!Array.<string>)} callback
*/
- findFilesMatchingSearchRequest: function(searchConfig, progress, callback) { },
+ findFilesMatchingSearchRequest: function(searchConfig, filesMathingFileQuery, progress, callback) { },
/**
* @param {!WebInspector.Progress} progress
@@ -503,12 +504,13 @@ WebInspector.Project.prototype = {
/**
* @param {!WebInspector.ProjectSearchConfig} searchConfig
+ * @param {!Array.<string>} filesMathingFileQuery
* @param {!WebInspector.Progress} progress
* @param {function(!Array.<string>)} callback
*/
- findFilesMatchingSearchRequest: function(searchConfig, progress, callback)
+ findFilesMatchingSearchRequest: function(searchConfig, filesMathingFileQuery, progress, callback)
{
- this._projectDelegate.findFilesMatchingSearchRequest(searchConfig, progress, callback);
+ this._projectDelegate.findFilesMatchingSearchRequest(searchConfig, filesMathingFileQuery, progress, callback);
},
/**

Powered by Google App Engine
This is Rietveld 408576698