OLD | NEW |
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. |
2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 #ifndef WEBKIT_FILEAPI_MEDIA_DEVICE_MEDIA_FILE_UTIL_H_ | 5 #ifndef WEBKIT_FILEAPI_MEDIA_DEVICE_MEDIA_FILE_UTIL_H_ |
6 #define WEBKIT_FILEAPI_MEDIA_DEVICE_MEDIA_FILE_UTIL_H_ | 6 #define WEBKIT_FILEAPI_MEDIA_DEVICE_MEDIA_FILE_UTIL_H_ |
7 | 7 |
8 #include "base/file_path.h" | 8 #include "base/file_path.h" |
9 #include "base/memory/scoped_ptr.h" | 9 #include "base/memory/scoped_ptr.h" |
10 #include "base/platform_file.h" | 10 #include "base/platform_file.h" |
(...skipping 34 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
45 bool recursive) OVERRIDE; | 45 bool recursive) OVERRIDE; |
46 virtual base::PlatformFileError GetFileInfo( | 46 virtual base::PlatformFileError GetFileInfo( |
47 FileSystemOperationContext* context, | 47 FileSystemOperationContext* context, |
48 const FileSystemURL& url, | 48 const FileSystemURL& url, |
49 base::PlatformFileInfo* file_info, | 49 base::PlatformFileInfo* file_info, |
50 FilePath* platform_path) OVERRIDE; | 50 FilePath* platform_path) OVERRIDE; |
51 virtual scoped_ptr<AbstractFileEnumerator> CreateFileEnumerator( | 51 virtual scoped_ptr<AbstractFileEnumerator> CreateFileEnumerator( |
52 FileSystemOperationContext* context, | 52 FileSystemOperationContext* context, |
53 const FileSystemURL& root_url, | 53 const FileSystemURL& root_url, |
54 bool recursive) OVERRIDE; | 54 bool recursive) OVERRIDE; |
55 virtual PlatformFileError GetLocalFilePath( | 55 virtual base::PlatformFileError GetLocalFilePath( |
56 FileSystemOperationContext* context, | 56 FileSystemOperationContext* context, |
57 const FileSystemURL& file_system_url, | 57 const FileSystemURL& file_system_url, |
58 FilePath* local_file_path) OVERRIDE; | 58 FilePath* local_file_path) OVERRIDE; |
59 virtual base::PlatformFileError Touch( | 59 virtual base::PlatformFileError Touch( |
60 FileSystemOperationContext* context, | 60 FileSystemOperationContext* context, |
61 const FileSystemURL& url, | 61 const FileSystemURL& url, |
62 const base::Time& last_access_time, | 62 const base::Time& last_access_time, |
63 const base::Time& last_modified_time) OVERRIDE; | 63 const base::Time& last_modified_time) OVERRIDE; |
64 virtual base::PlatformFileError Truncate( | 64 virtual base::PlatformFileError Truncate( |
65 FileSystemOperationContext* context, | 65 FileSystemOperationContext* context, |
(...skipping 27 matching lines...) Expand all Loading... |
93 private: | 93 private: |
94 // Profile path | 94 // Profile path |
95 const FilePath profile_path_; | 95 const FilePath profile_path_; |
96 | 96 |
97 DISALLOW_COPY_AND_ASSIGN(DeviceMediaFileUtil); | 97 DISALLOW_COPY_AND_ASSIGN(DeviceMediaFileUtil); |
98 }; | 98 }; |
99 | 99 |
100 } // namespace fileapi | 100 } // namespace fileapi |
101 | 101 |
102 #endif // WEBKIT_FILEAPI_MEDIA_DEVICE_MEDIA_FILE_UTIL_H_ | 102 #endif // WEBKIT_FILEAPI_MEDIA_DEVICE_MEDIA_FILE_UTIL_H_ |
OLD | NEW |