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

Unified Diff: webkit/fileapi/media/mtp_device_delegate.h

Issue 12163003: Add FilePath to base namespace. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 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
« no previous file with comments | « webkit/fileapi/media/media_path_filter.cc ('k') | webkit/fileapi/media/mtp_device_map_service.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: webkit/fileapi/media/mtp_device_delegate.h
diff --git a/webkit/fileapi/media/mtp_device_delegate.h b/webkit/fileapi/media/mtp_device_delegate.h
index 793f46c37c83da79ed60ce4e8fc29ef7d3f15381..a5e89acdff865b413132960d3a31d5cef7c5b6a4 100644
--- a/webkit/fileapi/media/mtp_device_delegate.h
+++ b/webkit/fileapi/media/mtp_device_delegate.h
@@ -9,9 +9,8 @@
#include "base/platform_file.h"
#include "webkit/fileapi/file_system_file_util.h"
-class FilePath;
-
namespace base {
+class FilePath;
class SequencedTaskRunner;
class Time;
}
@@ -26,7 +25,7 @@ class MTPDeviceDelegate {
public:
// Returns information about the given file path.
virtual base::PlatformFileError GetFileInfo(
- const FilePath& file_path,
+ const base::FilePath& file_path,
base::PlatformFileInfo* file_info) = 0;
// Returns a pointer to a new instance of AbstractFileEnumerator to enumerate
@@ -34,15 +33,15 @@ class MTPDeviceDelegate {
// caller, and its lifetime should not extend past when the current call
// returns to the main media task runner thread.
virtual scoped_ptr<FileSystemFileUtil::AbstractFileEnumerator>
- CreateFileEnumerator(const FilePath& root,
+ CreateFileEnumerator(const base::FilePath& root,
bool recursive) = 0;
// Updates the temporary snapshot file contents given by |local_path| with
// media file contents given by |device_file_path| and also returns the
// metadata of the temporary file.
virtual base::PlatformFileError CreateSnapshotFile(
- const FilePath& device_file_path,
- const FilePath& local_path,
+ const base::FilePath& device_file_path,
+ const base::FilePath& local_path,
base::PlatformFileInfo* file_info) = 0;
// Called when the
« no previous file with comments | « webkit/fileapi/media/media_path_filter.cc ('k') | webkit/fileapi/media/mtp_device_map_service.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698