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

Unified Diff: chrome/browser/storage_monitor/image_capture_device.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/storage_monitor/image_capture_device.h
diff --git a/chrome/browser/storage_monitor/image_capture_device.h b/chrome/browser/storage_monitor/image_capture_device.h
index 76652ba28a0e5b3a8de66afdccaad271b0b81cc3..2ad159509112106c7ad6bb9e04694e0a5d547966 100644
--- a/chrome/browser/storage_monitor/image_capture_device.h
+++ b/chrome/browser/storage_monitor/image_capture_device.h
@@ -8,13 +8,13 @@
#import <Foundation/Foundation.h>
#import <ImageCaptureCore/ImageCaptureCore.h>
+#include "base/files/file.h"
#include "base/files/file_path.h"
#include "base/mac/cocoa_protocols.h"
#include "base/mac/foundation_util.h"
#include "base/mac/scoped_nsobject.h"
#include "base/memory/ref_counted.h"
#include "base/memory/weak_ptr.h"
-#include "base/platform_file.h"
#include "base/strings/string_util.h"
#include "base/strings/sys_string_conversions.h"
#include "base/synchronization/lock.h"
@@ -34,7 +34,7 @@ class ImageCaptureDeviceListener {
// be passed as "dir/subdir/filename". These same relative filenames should
// be used as keys to download files.
virtual void ItemAdded(const std::string& name,
- const base::PlatformFileInfo& info) = 0;
+ const base::File::Info& info) = 0;
// Called when there are no more items to retrieve.
virtual void NoMoreItems() = 0;
@@ -43,7 +43,7 @@ class ImageCaptureDeviceListener {
// Note: in NOT_FOUND error case, may be called inline with the download
// request.
virtual void DownloadedFile(const std::string& name,
- base::PlatformFileError error) = 0;
+ base::File::Error error) = 0;
// Called to let the client know the device is removed. The client should
// set the ImageCaptureDevice listener to null upon receiving this call.
« no previous file with comments | « chrome/browser/media_galleries/win/snapshot_file_details.cc ('k') | chrome/browser/storage_monitor/image_capture_device.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698