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

Unified Diff: chrome/browser/chromeos/mtp/media_transfer_protocol_manager.h

Issue 10913048: CrOS: Convert MediaTransferProtocolDaemonClient to use protobufs. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: less hacky Created 8 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
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|.

Powered by Google App Engine
This is Rietveld 408576698