Chromium Code Reviews| Index: chrome/browser/chromeos/mtp/media_transfer_protocol_manager.h |
| =================================================================== |
| --- chrome/browser/chromeos/mtp/media_transfer_protocol_manager.h (revision 155895) |
| +++ chrome/browser/chromeos/mtp/media_transfer_protocol_manager.h (working copy) |
| @@ -30,7 +30,7 @@ |
| // A callback to handle the result of ReadDirectoryByPath/Id. |
| // The first argument is a vector of file entries. |
| // The second argument is true if there was an error. |
| - typedef base::Callback<void(const std::vector<FileEntry>& file_entries, |
| + typedef base::Callback<void(const std::vector<MtpFileEntry>& file_entries, |
|
Ryan Sleevi
2012/09/12 22:21:25
IWYU: Looks like you should be forward declaring t
Lei Zhang
2012/09/12 23:33:59
Done.
|
| bool error)> ReadDirectoryCallback; |
| // A callback to handle the result of ReadFileByPath/Id. |
| @@ -43,7 +43,7 @@ |
| // A callback to handle the result of GetFileInfoByPath/Id. |
| // The first argument is a file entry. |
| // The second argument is true if there was an error. |
| - typedef base::Callback<void(const FileEntry& file_entry, |
| + typedef base::Callback<void(const MtpFileEntry& file_entry, |
| bool error)> GetFileInfoCallback; |
| // Implement this interface to be notified about MTP storage |
| @@ -70,7 +70,7 @@ |
| // On success, returns the the metadata for |storage_name|. |
| // Otherwise returns NULL. |
| - virtual const StorageInfo* GetStorageInfo( |
| + virtual const MtpStorageInfo* GetStorageInfo( |
| const std::string& storage_name) const = 0; |
| // Opens |storage_name| in |mode| and runs |callback|. |