| Index: chrome/browser/chromeos/drive/drive_resource_metadata.h
|
| diff --git a/chrome/browser/chromeos/drive/drive_resource_metadata.h b/chrome/browser/chromeos/drive/drive_resource_metadata.h
|
| index 5f78451668e11ff009975b576f7d328591613566..6dcc316c23a1b776b76b1d029e10f6ed703fa18c 100644
|
| --- a/chrome/browser/chromeos/drive/drive_resource_metadata.h
|
| +++ b/chrome/browser/chromeos/drive/drive_resource_metadata.h
|
| @@ -365,11 +365,10 @@ class DriveResourceMetadata : public DriveResourceMetadataInterface {
|
| // Searches for |file_path| synchronously.
|
| DriveEntry* FindEntryByPathSync(const base::FilePath& file_path);
|
|
|
| - // Helper function to get a parent directory given |parent_resource_id|.
|
| - // Returns root if |parent_resource_id| is empty. Returns NULL if
|
| - // |parent_resource_id| is not empty and the corresponding entry is not a
|
| - // directory.
|
| - DriveDirectory* GetParent(const std::string& parent_resource_id);
|
| + // Helper function to get a directory given |resource_id|. |resource_id| can
|
| + // not be empty. Returns NULL if it finds no corresponding entry, or the
|
| + // corresponding entry is not a directory.
|
| + DriveDirectory* GetDirectory(const std::string& resource_id);
|
|
|
| // Returns virtual file path of the entry.
|
| base::FilePath GetFilePath(const DriveEntryProto& entry);
|
|
|