Chromium Code Reviews| Index: chrome/browser/chromeos/drive/file_system_interface.h |
| diff --git a/chrome/browser/chromeos/drive/file_system_interface.h b/chrome/browser/chromeos/drive/file_system_interface.h |
| index 0ac85a4faa3931d955bd54148696d9e8821248d6..c45cf9c78099300441e496e732c24ae285bc9af7 100644 |
| --- a/chrome/browser/chromeos/drive/file_system_interface.h |
| +++ b/chrome/browser/chromeos/drive/file_system_interface.h |
| @@ -112,8 +112,8 @@ typedef base::Callback<void(FileError error, |
| int64 bytes_used)> GetAvailableSpaceCallback; |
| // Used to get the url to the sharing dialog. |
| -typedef base::Callback<void(FileError error, |
| - const GURL& share_url)> GetShareUrlCallback; |
| +typedef base::Callback<void(FileError error, const GURL& share_url)> |
| + GetUrlCallback; |
| // Used to get filesystem metadata. |
| typedef base::Callback<void(const FileSystemMetadata&)> |
| @@ -387,10 +387,13 @@ class FileSystemInterface { |
| // Fetches the url to the sharing dialog to be embedded in |embed_origin|, |
| // for the specified file or directory. |callback| must not be null. |
| - virtual void GetShareUrl( |
| - const base::FilePath& file_path, |
| - const GURL& embed_origin, |
| - const GetShareUrlCallback& callback) = 0; |
| + virtual void GetShareUrl(const base::FilePath& file_path, |
| + const GURL& embed_origin, |
| + const GetUrlCallback& callback) = 0; |
| + |
| + // Fetches the url to download the file directry. |callback| must not be null. |
|
hashimoto
2014/07/09 07:48:57
nit: s/directry/directly/?
|
| + virtual void GetDownloadUrl(const base::FilePath& file_path, |
| + const GetUrlCallback& callback) = 0; |
| // Returns miscellaneous metadata of the file system like the largest |
| // timestamp. Used in chrome:drive-internals. |callback| must not be null. |