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

Unified Diff: chrome/browser/media_galleries/win/mtp_device_operations_util.h

Issue 145303002: Convert Media Galleries to use base::File (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Rebase Created 6 years, 11 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/media_galleries/win/mtp_device_operations_util.h
diff --git a/chrome/browser/media_galleries/win/mtp_device_operations_util.h b/chrome/browser/media_galleries/win/mtp_device_operations_util.h
index d617b83c095e993d2964353cb753aeefdb9c7dca..a45f9651fbda92dc4d8c70810b4cbea3d4800976 100644
--- a/chrome/browser/media_galleries/win/mtp_device_operations_util.h
+++ b/chrome/browser/media_galleries/win/mtp_device_operations_util.h
@@ -15,7 +15,7 @@
#include <string>
-#include "base/platform_file.h"
+#include "base/files/file.h"
#include "base/strings/string16.h"
#include "base/win/scoped_comptr.h"
#include "chrome/browser/media_galleries/win/mtp_device_object_entry.h"
@@ -32,10 +32,10 @@ base::win::ScopedComPtr<IPortableDevice> OpenDevice(
// |device|. On success, returns no error (base::PLATFORM_FILE_OK) and fills in
// |file_entry_info|. On failure, returns the corresponding platform file error
// and |file_entry_info| is not set.
-base::PlatformFileError GetFileEntryInfo(
+base::File::Error GetFileEntryInfo(
IPortableDevice* device,
const base::string16& object_id,
- base::PlatformFileInfo* file_entry_info);
+ base::File::Info* file_entry_info);
// Gets the entries of the directory specified by |directory_object_id| from
// the given MTP |device|. On success, returns true and fills in

Powered by Google App Engine
This is Rietveld 408576698