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

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: fix a comment. 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
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..fc1e9d1c06b517c90ba92b41c3e4c84b58ebfb3b 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,7 +678,7 @@
"parameters": [
{
"name" : "fileProperties",
- "$ref": "DriveFileProperties",
+ "$ref": "DriveEntryProperties",
"description": "A dictionary containing properties of the requested file."
satorux1 2013/05/01 06:04:41 file -> entry
Haruki Sato 2013/05/01 06:26:31 Done. Thanks.
}
]

Powered by Google App Engine
This is Rietveld 408576698