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

Unified Diff: third_party/WebKit/Source/devtools/front_end/host/InspectorFrontendHostAPI.js

Issue 2384343002: DevTools: improve DevTools file watcher to send added and removed paths (Closed)
Patch Set: Created 4 years, 2 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/host/InspectorFrontendHostAPI.js
diff --git a/third_party/WebKit/Source/devtools/front_end/host/InspectorFrontendHostAPI.js b/third_party/WebKit/Source/devtools/front_end/host/InspectorFrontendHostAPI.js
index cf9cb9ef174261e984923f57cfebb426ad592598..33841abfe1940a79dac5c6e6c444655edd288c8e 100644
--- a/third_party/WebKit/Source/devtools/front_end/host/InspectorFrontendHostAPI.js
+++ b/third_party/WebKit/Source/devtools/front_end/host/InspectorFrontendHostAPI.js
@@ -75,7 +75,7 @@ InspectorFrontendHostAPI.EventDescriptors = [
[InspectorFrontendHostAPI.Events.FileSystemsLoaded, "fileSystemsLoaded", ["fileSystems"]],
[InspectorFrontendHostAPI.Events.FileSystemRemoved, "fileSystemRemoved", ["fileSystemPath"]],
[InspectorFrontendHostAPI.Events.FileSystemAdded, "fileSystemAdded", ["errorMessage", "fileSystem"]],
- [InspectorFrontendHostAPI.Events.FileSystemFilesChanged, "fileSystemFilesChanged", ["paths"]],
+ [InspectorFrontendHostAPI.Events.FileSystemFilesChanged, "fileSystemFilesChanged", ["changedPaths", "addedPaths", "removedPaths"]],
[InspectorFrontendHostAPI.Events.IndexingTotalWorkCalculated, "indexingTotalWorkCalculated", ["requestId", "fileSystemPath", "totalWork"]],
[InspectorFrontendHostAPI.Events.IndexingWorked, "indexingWorked", ["requestId", "fileSystemPath", "worked"]],
[InspectorFrontendHostAPI.Events.IndexingDone, "indexingDone", ["requestId", "fileSystemPath"]],

Powered by Google App Engine
This is Rietveld 408576698