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

Unified Diff: trunk/src/chrome/common/extensions/api/file_browser_private.json

Issue 23791005: Revert 221982 "file_manager: Remove FileWatchChangedEntry from f..." (Closed) Base URL: svn://svn.chromium.org/chrome/
Patch Set: Created 7 years, 3 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
« no previous file with comments | « trunk/src/chrome/browser/chromeos/extensions/file_manager/event_router.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: trunk/src/chrome/common/extensions/api/file_browser_private.json
===================================================================
--- trunk/src/chrome/common/extensions/api/file_browser_private.json (revision 221989)
+++ trunk/src/chrome/common/extensions/api/file_browser_private.json (working copy)
@@ -305,6 +305,22 @@
}
},
{
+ "id": "FileWatchChangedEntry",
+ "type": "object",
+ "description": "Information about changed file or directory",
+ "properties": {
+ "changeType": {
+ "type": "string",
+ "enum": ["added", "deleted", "updated"],
+ "description": "Specifies type of the change."
+ },
+ "fileUrl": {
+ "type": "string",
+ "description": "URL of the changed file."
+ }
+ }
+ },
+ {
"id": "FileWatchEvent",
"type": "object",
"description": "Directory change notification details.",
@@ -317,6 +333,10 @@
"directoryUrl": {
"type": "string",
"description": "URL of watched directory."
+ },
+ "changedEntries": {
+ "type": "array",
+ "items": {"$ref": "FileWatchChangedEntry"}
}
}
}
« no previous file with comments | « trunk/src/chrome/browser/chromeos/extensions/file_manager/event_router.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698