| 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" | |
| 11 #include "webkit/fileapi/file_system_file_util.h" | 10 #include "webkit/fileapi/file_system_file_util.h" |
| 11 #include "webkit/storage/storage_export.h" |
| 12 | 12 |
| 13 namespace base { | 13 namespace base { |
| 14 class Time; | 14 class Time; |
| 15 } | 15 } |
| 16 | 16 |
| 17 namespace fileapi { | 17 namespace fileapi { |
| 18 | 18 |
| 19 class FileSystemOperationContext; | 19 class FileSystemOperationContext; |
| 20 | 20 |
| 21 class FILEAPI_EXPORT_PRIVATE DeviceMediaFileUtil : public FileSystemFileUtil { | 21 class STORAGE_EXPORT_PRIVATE DeviceMediaFileUtil : public FileSystemFileUtil { |
| 22 public: | 22 public: |
| 23 explicit DeviceMediaFileUtil(const FilePath& profile_path); | 23 explicit DeviceMediaFileUtil(const FilePath& profile_path); |
| 24 virtual ~DeviceMediaFileUtil() {} | 24 virtual ~DeviceMediaFileUtil() {} |
| 25 | 25 |
| 26 // FileSystemFileUtil overrides. | 26 // FileSystemFileUtil overrides. |
| 27 virtual base::PlatformFileError CreateOrOpen( | 27 virtual base::PlatformFileError CreateOrOpen( |
| 28 FileSystemOperationContext* context, | 28 FileSystemOperationContext* context, |
| 29 const FileSystemURL& url, | 29 const FileSystemURL& url, |
| 30 int file_flags, | 30 int file_flags, |
| 31 base::PlatformFile* file_handle, | 31 base::PlatformFile* file_handle, |
| (...skipping 59 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 91 private: | 91 private: |
| 92 // Profile path | 92 // Profile path |
| 93 const FilePath profile_path_; | 93 const FilePath profile_path_; |
| 94 | 94 |
| 95 DISALLOW_COPY_AND_ASSIGN(DeviceMediaFileUtil); | 95 DISALLOW_COPY_AND_ASSIGN(DeviceMediaFileUtil); |
| 96 }; | 96 }; |
| 97 | 97 |
| 98 } // namespace fileapi | 98 } // namespace fileapi |
| 99 | 99 |
| 100 #endif // WEBKIT_FILEAPI_MEDIA_DEVICE_MEDIA_FILE_UTIL_H_ | 100 #endif // WEBKIT_FILEAPI_MEDIA_DEVICE_MEDIA_FILE_UTIL_H_ |
| OLD | NEW |