| 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 a041e9db8033fcdff6db52c84f46ab99dd39b260..4da90fe63c7b636d1791f375caf295056c6b3331 100644
|
| --- a/chrome/common/extensions/api/file_browser_private.json
|
| +++ b/chrome/common/extensions/api/file_browser_private.json
|
| @@ -54,7 +54,7 @@
|
| {
|
| "id": "DriveWebApp",
|
| "type": "object",
|
| - "description": "GData WebApp properties.",
|
| + "description": "Drive WebApp properties.",
|
| "properties": {
|
| "appId": {
|
| "type": "string",
|
| @@ -67,12 +67,12 @@
|
| "appIcon": {
|
| "type": "string",
|
| "optional": true,
|
| - "description": "URL to the GData application icon for this application."
|
| + "description": "URL to the Drive application icon for this application."
|
| },
|
| "docIcon": {
|
| "type": "string",
|
| "optional": true,
|
| - "description": "URL to the GData document icon for documents associated with this application."
|
| + "description": "URL to the Drive document icon for documents associated with this application."
|
| },
|
| "objectType": {
|
| "type": "string",
|
| @@ -85,9 +85,9 @@
|
| }
|
| },
|
| {
|
| - "id": "GDataFileProperties",
|
| + "id": "DriveFileProperties",
|
| "type": "object",
|
| - "description": "GData file properties.",
|
| + "description": "Drive file properties.",
|
| "properties": {
|
| "fileUrl": {
|
| "type": "string",
|
| @@ -97,42 +97,42 @@
|
| "thumbnailUrl": {
|
| "type": "string",
|
| "optional": true,
|
| - "description": "URL to the GData thumbnail image for this file."
|
| + "description": "URL to the Drive thumbnail image for this file."
|
| },
|
| "contentUrl": {
|
| "type": "string",
|
| "optional": true,
|
| - "description": "GData URL to the content for this file."
|
| + "description": "Drive URL to the content for this file."
|
| },
|
| "editUrl": {
|
| "type": "string",
|
| "optional": true,
|
| - "description": "GData edit URL for this file."
|
| + "description": "Drive edit URL for this file."
|
| },
|
| "shareUrl": {
|
| "type": "string",
|
| "optional": true,
|
| - "description": "GData share URL for this file."
|
| + "description": "Drive share URL for this file."
|
| },
|
| "isPinned": {
|
| "type": "boolean",
|
| "optional": true,
|
| - "description": "True if the file is pinned in GData cache."
|
| + "description": "True if the file is pinned in Drive cache."
|
| },
|
| "isPresent": {
|
| "type": "boolean",
|
| "optional": true,
|
| - "description": "True if the file is present in GData cache."
|
| + "description": "True if the file is present in Drive cache."
|
| },
|
| "isDirty": {
|
| "type": "boolean",
|
| "optional": true,
|
| - "description": "True if the file is awaiting upload in GData cache."
|
| + "description": "True if the file is awaiting upload in Drive cache."
|
| },
|
| "isHosted": {
|
| "type": "boolean",
|
| "optional": true,
|
| - "description": "True if the file is hosted on a GData server instead of local."
|
| + "description": "True if the file is hosted on a Drive server instead of local."
|
| },
|
| "errorCode": {
|
| "type": "integer",
|
| @@ -148,7 +148,7 @@
|
| "contentMimeType": {
|
| "type": "string",
|
| "optional": true,
|
| - "description": "GData MIME type for this file."
|
| + "description": "Drive MIME type for this file."
|
| }
|
| }
|
| },
|
| @@ -293,7 +293,7 @@
|
| },
|
| "mountType": {
|
| "type": "string",
|
| - "enum": ["device", "file", "network", "gdata"],
|
| + "enum": ["device", "file", "network", "drive"],
|
| "description": "Type of the mount."
|
| }
|
| }
|
| @@ -618,8 +618,8 @@
|
| ]
|
| },
|
| {
|
| - "name": "getGDataFileProperties",
|
| - "description": "Requests GData file properties for a list of files",
|
| + "name": "getDriveFileProperties",
|
| + "description": "Requests Drive file properties for a list of files",
|
| "parameters": [
|
| {
|
| "name": "fileUrls",
|
| @@ -633,7 +633,7 @@
|
| {
|
| "name" : "fileProperties",
|
| "type": "array",
|
| - "items": {"$ref": "GDataFileProperties"},
|
| + "items": {"$ref": "DriveFileProperties"},
|
| "description": "An array of the requested file properties, one entry for each file in fileUrls."
|
| }
|
| ]
|
| @@ -641,8 +641,8 @@
|
| ]
|
| },
|
| {
|
| - "name": "pinGDataFile",
|
| - "description": "Pins/unpins a GData file in the cache",
|
| + "name": "pinDriveFile",
|
| + "description": "Pins/unpins a Drive file in the cache",
|
| "parameters": [
|
| {
|
| "name": "fileUrls",
|
| @@ -661,7 +661,7 @@
|
| {
|
| "name" : "fileProperties",
|
| "type": "array",
|
| - "items": {"$ref": "GDataFileProperties"},
|
| + "items": {"$ref": "DriveFileProperties"},
|
| "description": "An array of the pinned properties after pinning/unpinning the requested files, one entry for each file in fileUrls."
|
| }
|
| ]
|
| @@ -693,13 +693,13 @@
|
| ]
|
| },
|
| {
|
| - "name": "getGDataFiles",
|
| - "description": "Get GData files",
|
| + "name": "getDriveFiles",
|
| + "description": "Get Drive files",
|
| "parameters": [
|
| {
|
| "name": "fileUrls",
|
| "type": "array",
|
| - "description": "Array of gdata file URLs to get.",
|
| + "description": "Array of Drive file URLs to get.",
|
| "items": { "type": "string" }
|
| },
|
| {
|
| @@ -751,7 +751,7 @@
|
| {
|
| "name": "mountType",
|
| "type": "string",
|
| - "enum": ["device", "file", "network", "gdata"],
|
| + "enum": ["device", "file", "network", "drive"],
|
| "description": "Mount point type. 'file' for compressed files"
|
| },
|
| {
|
| @@ -982,7 +982,7 @@
|
| ]
|
| },
|
| {
|
| - "name": "searchGData",
|
| + "name": "searchDrive",
|
| "type": "function",
|
| "description": "Performs drive content search.",
|
| "parameters": [
|
| @@ -994,7 +994,7 @@
|
| {
|
| "name": "nextFeed",
|
| "type": "string",
|
| - "description": "ID of the search feed that should be fetched next. Value passed here should be gotten from previous searchGData call. It can be empty for the initial search request."
|
| + "description": "ID of the search feed that should be fetched next. Value passed here should be gotten from previous searchDrive call. It can be empty for the initial search request."
|
| },
|
| {
|
| "name": "callback",
|
| @@ -1012,7 +1012,7 @@
|
| {
|
| "name": "nextFeed",
|
| "type": "string",
|
| - "description": "ID of the feed that contains next chunk of the search result. Should be sent to the next searchGData request to perform incremental search."
|
| + "description": "ID of the feed that contains next chunk of the search result. Should be sent to the next searchDrive request to perform incremental search."
|
| }
|
| ]
|
| }
|
| @@ -1020,7 +1020,7 @@
|
| },
|
| {
|
| "name": "clearDriveCache",
|
| - "description": "Clear all GData local caches.",
|
| + "description": "Clear all Drive local caches.",
|
| "parameters": []
|
| },
|
| {
|
|
|