diff options
author | satorux@chromium.org <satorux@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2013-05-02 04:55:52 +0000 |
---|---|---|
committer | satorux@chromium.org <satorux@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2013-05-02 04:55:52 +0000 |
commit | 67241b83d4bd573d00f1fa6e6056cf25f74ddf49 (patch) | |
tree | 7613732325f898bcafbb7c9eac0f31e9ce9e5cd9 /chrome/browser/chromeos/drive/file_system_util.h | |
parent | ce34e101af48b9b576b6cdee5fac7f88a956ec21 (diff) | |
download | chromium_src-67241b83d4bd573d00f1fa6e6056cf25f74ddf49.zip chromium_src-67241b83d4bd573d00f1fa6e6056cf25f74ddf49.tar.gz chromium_src-67241b83d4bd573d00f1fa6e6056cf25f74ddf49.tar.bz2 |
Rename drive::DriveEntryProto to drive::ResourceEntry
As part of an effort to remove 'drive' prefix from c/b/chromeos/drive.
BUG=233482
TEST=none
R=kinaba@chromium.org, thestig@chromium.org
Review URL: https://codereview.chromium.org/14616011
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@197808 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/chromeos/drive/file_system_util.h')
-rw-r--r-- | chrome/browser/chromeos/drive/file_system_util.h | 22 |
1 files changed, 12 insertions, 10 deletions
diff --git a/chrome/browser/chromeos/drive/file_system_util.h b/chrome/browser/chromeos/drive/file_system_util.h index d4f4719..d2a3f85 100644 --- a/chrome/browser/chromeos/drive/file_system_util.h +++ b/chrome/browser/chromeos/drive/file_system_util.h @@ -90,11 +90,11 @@ const base::FilePath& GetDriveMountPointPath(); // implementation and is not supposed to be sent to the server. bool IsSpecialResourceId(const std::string& resource_id); -// Returns a DriveEntryProto for "/drive/root" directory. -DriveEntryProto CreateMyDriveRootEntry(const std::string& root_resource_id); +// Returns a ResourceEntry for "/drive/root" directory. +ResourceEntry CreateMyDriveRootEntry(const std::string& root_resource_id); -// Returns a DriveEntryProto for "/drive/other" directory. -DriveEntryProto CreateOtherDirEntry(); +// Returns a ResourceEntry for "/drive/other" directory. +ResourceEntry CreateOtherDirEntry(); // Returns the Drive mount path as string. const std::string& GetDriveMountPointPathAsString(); @@ -196,13 +196,15 @@ void EnsureDirectoryExists(Profile* profile, // Converts GData error code into file platform error code. FileError GDataToFileError(google_apis::GDataErrorCode status); -// Converts the proto representation to the platform file. -void ConvertProtoToPlatformFileInfo(const PlatformFileInfoProto& proto, - base::PlatformFileInfo* file_info); +// Converts the resource entry to the platform file. +void ConvertResourceEntryToPlatformFileInfo( + const PlatformFileInfoProto& entry, + base::PlatformFileInfo* file_info); -// Converts the platform file info to the proto representation. -void ConvertPlatformFileInfoToProto(const base::PlatformFileInfo& file_info, - PlatformFileInfoProto* proto); +// Converts the platform file info to the resource entry. +void ConvertPlatformFileInfoToResourceEntry( + const base::PlatformFileInfo& file_info, + PlatformFileInfoProto* entry); // Does nothing with |error|. Used with functions taking FileOperationCallback. void EmptyFileOperationCallback(FileError error); |