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_CHROMEOS_FILEAPI_CROS_MOUNT_POINT_PROVIDER_H_ | 5 #ifndef WEBKIT_CHROMEOS_FILEAPI_CROS_MOUNT_POINT_PROVIDER_H_ |
6 #define WEBKIT_CHROMEOS_FILEAPI_CROS_MOUNT_POINT_PROVIDER_H_ | 6 #define WEBKIT_CHROMEOS_FILEAPI_CROS_MOUNT_POINT_PROVIDER_H_ |
7 | 7 |
8 #include <map> | 8 #include <map> |
9 #include <string> | 9 #include <string> |
10 #include <vector> | 10 #include <vector> |
(...skipping 41 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
52 virtual FilePath GetFileSystemRootPathOnFileThread( | 52 virtual FilePath GetFileSystemRootPathOnFileThread( |
53 const GURL& origin_url, | 53 const GURL& origin_url, |
54 fileapi::FileSystemType type, | 54 fileapi::FileSystemType type, |
55 const FilePath& virtual_path, | 55 const FilePath& virtual_path, |
56 bool create) OVERRIDE; | 56 bool create) OVERRIDE; |
57 virtual bool IsAccessAllowed( | 57 virtual bool IsAccessAllowed( |
58 const GURL& origin_url, | 58 const GURL& origin_url, |
59 fileapi::FileSystemType type, | 59 fileapi::FileSystemType type, |
60 const FilePath& virtual_path) OVERRIDE; | 60 const FilePath& virtual_path) OVERRIDE; |
61 virtual bool IsRestrictedFileName(const FilePath& filename) const OVERRIDE; | 61 virtual bool IsRestrictedFileName(const FilePath& filename) const OVERRIDE; |
62 virtual fileapi::FileSystemFileUtil* GetFileUtil() OVERRIDE; | 62 virtual fileapi::FileSystemFileUtil* GetFileUtil( |
| 63 fileapi::FileSystemType type) OVERRIDE; |
63 virtual FilePath GetPathForPermissionsCheck(const FilePath& virtual_path) | 64 virtual FilePath GetPathForPermissionsCheck(const FilePath& virtual_path) |
64 const OVERRIDE; | 65 const OVERRIDE; |
65 virtual fileapi::FileSystemOperationInterface* CreateFileSystemOperation( | 66 virtual fileapi::FileSystemOperationInterface* CreateFileSystemOperation( |
66 const fileapi::FileSystemURL& url, | 67 const fileapi::FileSystemURL& url, |
67 fileapi::FileSystemContext* context) const OVERRIDE; | 68 fileapi::FileSystemContext* context) const OVERRIDE; |
68 virtual webkit_blob::FileStreamReader* CreateFileStreamReader( | 69 virtual webkit_blob::FileStreamReader* CreateFileStreamReader( |
69 const fileapi::FileSystemURL& path, | 70 const fileapi::FileSystemURL& path, |
70 int64 offset, | 71 int64 offset, |
71 fileapi::FileSystemContext* context) const OVERRIDE; | 72 fileapi::FileSystemContext* context) const OVERRIDE; |
72 virtual fileapi::FileStreamWriter* CreateFileStreamWriter( | 73 virtual fileapi::FileStreamWriter* CreateFileStreamWriter( |
(...skipping 55 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
128 MountPointMap mount_point_map_; | 129 MountPointMap mount_point_map_; |
129 scoped_refptr<quota::SpecialStoragePolicy> special_storage_policy_; | 130 scoped_refptr<quota::SpecialStoragePolicy> special_storage_policy_; |
130 scoped_ptr<FileAccessPermissions> file_access_permissions_; | 131 scoped_ptr<FileAccessPermissions> file_access_permissions_; |
131 scoped_ptr<fileapi::LocalFileUtil> local_file_util_; | 132 scoped_ptr<fileapi::LocalFileUtil> local_file_util_; |
132 DISALLOW_COPY_AND_ASSIGN(CrosMountPointProvider); | 133 DISALLOW_COPY_AND_ASSIGN(CrosMountPointProvider); |
133 }; | 134 }; |
134 | 135 |
135 } // namespace chromeos | 136 } // namespace chromeos |
136 | 137 |
137 #endif // WEBKIT_CHROMEOS_FILEAPI_CROS_MOUNT_POINT_PROVIDER_H_ | 138 #endif // WEBKIT_CHROMEOS_FILEAPI_CROS_MOUNT_POINT_PROVIDER_H_ |
OLD | NEW |