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/platform_file.h" | 9 #include "base/platform_file.h" |
10 #include "webkit/fileapi/fileapi_export.h" | 10 #include "webkit/fileapi/fileapi_export.h" |
(...skipping 69 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
80 virtual base::PlatformFileError CopyInForeignFile( | 80 virtual base::PlatformFileError CopyInForeignFile( |
81 FileSystemOperationContext* context, | 81 FileSystemOperationContext* context, |
82 const FilePath& src_file_path, | 82 const FilePath& src_file_path, |
83 const FileSystemURL& dest_url) OVERRIDE; | 83 const FileSystemURL& dest_url) OVERRIDE; |
84 virtual base::PlatformFileError DeleteFile( | 84 virtual base::PlatformFileError DeleteFile( |
85 FileSystemOperationContext* context, | 85 FileSystemOperationContext* context, |
86 const FileSystemURL& url) OVERRIDE; | 86 const FileSystemURL& url) OVERRIDE; |
87 virtual base::PlatformFileError DeleteSingleDirectory( | 87 virtual base::PlatformFileError DeleteSingleDirectory( |
88 FileSystemOperationContext* context, | 88 FileSystemOperationContext* context, |
89 const FileSystemURL& url) OVERRIDE; | 89 const FileSystemURL& url) OVERRIDE; |
90 virtual scoped_refptr<webkit_blob::ShareableFileReference> | 90 virtual base::PlatformFileError CreateSnapshotFile( |
91 CreateSnapshotFile(FileSystemOperationContext* context, | 91 FileSystemOperationContext* context, |
92 const FileSystemURL& url, | 92 const FileSystemURL& url, |
93 base::PlatformFileError* result, | 93 base::PlatformFileInfo* file_info, |
94 base::PlatformFileInfo* file_info, | 94 FilePath* platform_path, |
95 FilePath* platform_path) OVERRIDE; | 95 SnapshotFilePolicy* policy) OVERRIDE; |
96 | 96 |
97 private: | 97 private: |
98 // Profile path | 98 // Profile path |
99 const FilePath profile_path_; | 99 const FilePath profile_path_; |
100 | 100 |
101 DISALLOW_COPY_AND_ASSIGN(DeviceMediaFileUtil); | 101 DISALLOW_COPY_AND_ASSIGN(DeviceMediaFileUtil); |
102 }; | 102 }; |
103 | 103 |
104 } // namespace fileapi | 104 } // namespace fileapi |
105 | 105 |
106 #endif // WEBKIT_FILEAPI_MEDIA_DEVICE_MEDIA_FILE_UTIL_H_ | 106 #endif // WEBKIT_FILEAPI_MEDIA_DEVICE_MEDIA_FILE_UTIL_H_ |
OLD | NEW |