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

Unified Diff: chrome/browser/chromeos/extensions/file_manager/private_api_drive.cc

Issue 23514043: file_manager: Remove unused fields from DriveEntryProperties (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
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 | « no previous file | chrome/common/extensions/api/file_browser_private.json » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/chromeos/extensions/file_manager/private_api_drive.cc
diff --git a/chrome/browser/chromeos/extensions/file_manager/private_api_drive.cc b/chrome/browser/chromeos/extensions/file_manager/private_api_drive.cc
index 8cc8fc9f08b7034c1bae48bd3999d8ef236c7468..61c03d214cf8304356d8ab36d6a6f86bf03af194 100644
--- a/chrome/browser/chromeos/extensions/file_manager/private_api_drive.cc
+++ b/chrome/browser/chromeos/extensions/file_manager/private_api_drive.cc
@@ -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);
}
« no previous file with comments | « no previous file | chrome/common/extensions/api/file_browser_private.json » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698