Commit 4bea1afb authored by satorux@chromium.org's avatar satorux@chromium.org

file_manager: Remove unused fields from DriveEntryProperties

"fileUrl" and "errorCode" are no longer in use.

BUG=257916
TEST=Files.app works as before
R=benwells@chromium.org, yoshiki@chromium.org

Review URL: https://codereview.chromium.org/23514043

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@221977 0039d316-1c4b-4281-b951-d872f2087c98
parent bd69f576
......@@ -85,7 +85,6 @@ bool FileBrowserPrivateGetDriveEntryPropertiesFunction::RunImpl() {
render_view_host(), profile(), file_url));
properties_.reset(new base::DictionaryValue);
properties_->SetString("fileUrl", file_url.spec());
// Start getting the file info.
drive::FileSystemInterface* file_system =
......@@ -183,8 +182,6 @@ void FileBrowserPrivateGetDriveEntryPropertiesFunction::CacheStateReceived(
void FileBrowserPrivateGetDriveEntryPropertiesFunction::
CompleteGetFileProperties(drive::FileError error) {
if (error != drive::FILE_ERROR_OK)
properties_->SetInteger("errorCode", error);
SetResult(properties_.release());
SendResponse(true);
}
......
......@@ -71,11 +71,6 @@
"type": "object",
"description": "Drive file properties.",
"properties": {
"fileUrl": {
"type": "string",
"optional": true,
"description": "the URL given for this file."
},
"thumbnailUrl": {
"type": "string",
"optional": true,
......@@ -101,11 +96,6 @@
"optional": true,
"description": "True if the file is hosted on a Drive server instead of local."
},
"errorCode": {
"type": "integer",
"optional": true,
"description": "The error code (from base::PlatformFileError) if fetching the properties for this file had an error."
},
"customIconUrl": {
"type": "string",
"optional": true,
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment