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

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

Issue 14658005: filemanager: Retrieve 'shared-with-me' property using getDriveEntryProperties API. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: update comments Created 7 years, 8 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 | « chrome/browser/resources/file_manager/js/metadata/metadata_cache.js ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/common/extensions/api/file_browser_private.json
diff --git a/chrome/common/extensions/api/file_browser_private.json b/chrome/common/extensions/api/file_browser_private.json
index 2c90237ac53fa3255b45670b7d349b0a47b027f2..7603f8264d1024884591ea43afde2f81c46921b9 100644
--- a/chrome/common/extensions/api/file_browser_private.json
+++ b/chrome/common/extensions/api/file_browser_private.json
@@ -85,7 +85,7 @@
}
},
{
- "id": "DriveFileProperties",
+ "id": "DriveEntryProperties",
"type": "object",
"description": "Drive file properties.",
"properties": {
@@ -149,6 +149,11 @@
"type": "string",
"optional": true,
"description": "Drive MIME type for this file."
+ },
+ "sharedWithMe": {
+ "type": "boolean",
+ "optional": true,
+ "description": "True if the entry is labeled as shared-with-me."
}
}
},
@@ -659,7 +664,7 @@
]
},
{
- "name": "getDriveFileProperties",
+ "name": "getDriveEntryProperties",
"description": "Requests Drive file properties for a file",
"parameters": [
{
@@ -673,8 +678,8 @@
"parameters": [
{
"name" : "fileProperties",
- "$ref": "DriveFileProperties",
- "description": "A dictionary containing properties of the requested file."
+ "$ref": "DriveEntryProperties",
+ "description": "A dictionary containing properties of the requested entry."
}
]
}
« no previous file with comments | « chrome/browser/resources/file_manager/js/metadata/metadata_cache.js ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698