| 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_ISOLATED_MOUNT_POINT_PROVIDER_H_ | 5 #ifndef WEBKIT_FILEAPI_ISOLATED_MOUNT_POINT_PROVIDER_H_ |
| 6 #define WEBKIT_FILEAPI_ISOLATED_MOUNT_POINT_PROVIDER_H_ | 6 #define WEBKIT_FILEAPI_ISOLATED_MOUNT_POINT_PROVIDER_H_ |
| 7 | 7 |
| 8 #include "base/memory/scoped_ptr.h" | 8 #include "base/memory/scoped_ptr.h" |
| 9 #include "webkit/fileapi/file_system_mount_point_provider.h" | 9 #include "webkit/fileapi/file_system_mount_point_provider.h" |
| 10 #include "webkit/fileapi/media/media_file_system_config.h" | 10 #include "webkit/fileapi/media/media_file_system_config.h" |
| (...skipping 29 matching lines...) Expand all Loading... |
| 40 FileSystemType type, | 40 FileSystemType type, |
| 41 const FilePath& virtual_path, | 41 const FilePath& virtual_path, |
| 42 bool create) OVERRIDE; | 42 bool create) OVERRIDE; |
| 43 virtual bool IsAccessAllowed(const GURL& origin_url, | 43 virtual bool IsAccessAllowed(const GURL& origin_url, |
| 44 FileSystemType type, | 44 FileSystemType type, |
| 45 const FilePath& virtual_path) OVERRIDE; | 45 const FilePath& virtual_path) OVERRIDE; |
| 46 virtual bool IsRestrictedFileName(const FilePath& filename) const OVERRIDE; | 46 virtual bool IsRestrictedFileName(const FilePath& filename) const OVERRIDE; |
| 47 virtual FileSystemFileUtil* GetFileUtil(FileSystemType type) OVERRIDE; | 47 virtual FileSystemFileUtil* GetFileUtil(FileSystemType type) OVERRIDE; |
| 48 virtual FilePath GetPathForPermissionsCheck(const FilePath& virtual_path) | 48 virtual FilePath GetPathForPermissionsCheck(const FilePath& virtual_path) |
| 49 const OVERRIDE; | 49 const OVERRIDE; |
| 50 virtual FileSystemOperationInterface* CreateFileSystemOperation( | 50 virtual FileSystemOperation* CreateFileSystemOperation( |
| 51 const FileSystemURL& url, | 51 const FileSystemURL& url, |
| 52 FileSystemContext* context) const OVERRIDE; | 52 FileSystemContext* context) const OVERRIDE; |
| 53 virtual webkit_blob::FileStreamReader* CreateFileStreamReader( | 53 virtual webkit_blob::FileStreamReader* CreateFileStreamReader( |
| 54 const FileSystemURL& url, | 54 const FileSystemURL& url, |
| 55 int64 offset, | 55 int64 offset, |
| 56 FileSystemContext* context) const OVERRIDE; | 56 FileSystemContext* context) const OVERRIDE; |
| 57 virtual FileStreamWriter* CreateFileStreamWriter( | 57 virtual FileStreamWriter* CreateFileStreamWriter( |
| 58 const FileSystemURL& url, | 58 const FileSystemURL& url, |
| 59 int64 offset, | 59 int64 offset, |
| 60 FileSystemContext* context) const OVERRIDE; | 60 FileSystemContext* context) const OVERRIDE; |
| (...skipping 15 matching lines...) Expand all Loading... |
| 76 scoped_ptr<NativeMediaFileUtil> native_media_file_util_; | 76 scoped_ptr<NativeMediaFileUtil> native_media_file_util_; |
| 77 | 77 |
| 78 #if defined(SUPPORT_MEDIA_FILESYSTEM) | 78 #if defined(SUPPORT_MEDIA_FILESYSTEM) |
| 79 scoped_ptr<DeviceMediaFileUtil> device_media_file_util_; | 79 scoped_ptr<DeviceMediaFileUtil> device_media_file_util_; |
| 80 #endif | 80 #endif |
| 81 }; | 81 }; |
| 82 | 82 |
| 83 } // namespace fileapi | 83 } // namespace fileapi |
| 84 | 84 |
| 85 #endif // WEBKIT_FILEAPI_ISOLATED_MOUNT_POINT_PROVIDER_H_ | 85 #endif // WEBKIT_FILEAPI_ISOLATED_MOUNT_POINT_PROVIDER_H_ |
| OLD | NEW |