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

Unified Diff: chrome/browser/media_galleries/linux/snapshot_file_details.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/linux/snapshot_file_details.h
diff --git a/chrome/browser/media_galleries/linux/snapshot_file_details.h b/chrome/browser/media_galleries/linux/snapshot_file_details.h
index 4d3fc5286fcdb6267fef3818af3c895b523e73bd..c36d6e3fc51adf694ebd174c03014127600b8fa5 100644
--- a/chrome/browser/media_galleries/linux/snapshot_file_details.h
+++ b/chrome/browser/media_galleries/linux/snapshot_file_details.h
@@ -9,8 +9,8 @@
#include "base/basictypes.h"
#include "base/callback.h"
+#include "base/files/file.h"
#include "base/files/file_path.h"
-#include "base/platform_file.h"
#include "chrome/browser/media_galleries/fileapi/mtp_device_async_delegate.h"
// Used to represent snapshot file request params.
@@ -43,7 +43,7 @@ struct SnapshotRequestInfo {
class SnapshotFileDetails {
public:
SnapshotFileDetails(const SnapshotRequestInfo& request_info,
- const base::PlatformFileInfo& file_info);
+ const base::File::Info& file_info);
~SnapshotFileDetails();
@@ -59,7 +59,7 @@ class SnapshotFileDetails {
return bytes_written_;
}
- const base::PlatformFileInfo file_info() const {
+ const base::File::Info file_info() const {
return file_info_;
}
@@ -98,7 +98,7 @@ class SnapshotFileDetails {
const SnapshotRequestInfo request_info_;
// Metadata of the snapshot file (such as name, size, type, etc).
- const base::PlatformFileInfo file_info_;
+ const base::File::Info file_info_;
// Number of bytes written into the snapshot file.
uint32 bytes_written_;

Powered by Google App Engine
This is Rietveld 408576698