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 22 matching lines...) Expand all Loading... |
33 virtual void ValidateFileSystemRoot( | 33 virtual void ValidateFileSystemRoot( |
34 const GURL& origin_url, | 34 const GURL& origin_url, |
35 FileSystemType type, | 35 FileSystemType type, |
36 bool create, | 36 bool create, |
37 const ValidateFileSystemCallback& callback) OVERRIDE; | 37 const ValidateFileSystemCallback& callback) OVERRIDE; |
38 virtual FilePath GetFileSystemRootPathOnFileThread( | 38 virtual FilePath GetFileSystemRootPathOnFileThread( |
39 const GURL& origin_url, | 39 const GURL& origin_url, |
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 FileSystemURL& url) OVERRIDE; |
44 FileSystemType type, | |
45 const FilePath& virtual_path) OVERRIDE; | |
46 virtual bool IsRestrictedFileName(const FilePath& filename) const OVERRIDE; | 44 virtual bool IsRestrictedFileName(const FilePath& filename) const OVERRIDE; |
47 virtual FileSystemFileUtil* GetFileUtil(FileSystemType type) OVERRIDE; | 45 virtual FileSystemFileUtil* GetFileUtil(FileSystemType type) OVERRIDE; |
48 virtual FilePath GetPathForPermissionsCheck(const FilePath& virtual_path) | 46 virtual FilePath GetPathForPermissionsCheck(const FilePath& virtual_path) |
49 const OVERRIDE; | 47 const OVERRIDE; |
50 virtual FileSystemOperationInterface* CreateFileSystemOperation( | 48 virtual FileSystemOperationInterface* CreateFileSystemOperation( |
51 const FileSystemURL& url, | 49 const FileSystemURL& url, |
52 FileSystemContext* context) const OVERRIDE; | 50 FileSystemContext* context) const OVERRIDE; |
53 virtual webkit_blob::FileStreamReader* CreateFileStreamReader( | 51 virtual webkit_blob::FileStreamReader* CreateFileStreamReader( |
54 const FileSystemURL& url, | 52 const FileSystemURL& url, |
55 int64 offset, | 53 int64 offset, |
(...skipping 20 matching lines...) Expand all Loading... |
76 scoped_ptr<NativeMediaFileUtil> native_media_file_util_; | 74 scoped_ptr<NativeMediaFileUtil> native_media_file_util_; |
77 | 75 |
78 #if defined(SUPPORT_MEDIA_FILESYSTEM) | 76 #if defined(SUPPORT_MEDIA_FILESYSTEM) |
79 scoped_ptr<DeviceMediaFileUtil> device_media_file_util_; | 77 scoped_ptr<DeviceMediaFileUtil> device_media_file_util_; |
80 #endif | 78 #endif |
81 }; | 79 }; |
82 | 80 |
83 } // namespace fileapi | 81 } // namespace fileapi |
84 | 82 |
85 #endif // WEBKIT_FILEAPI_ISOLATED_MOUNT_POINT_PROVIDER_H_ | 83 #endif // WEBKIT_FILEAPI_ISOLATED_MOUNT_POINT_PROVIDER_H_ |
OLD | NEW |