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 54 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
65 const OVERRIDE; | 65 const OVERRIDE; |
66 virtual fileapi::FileSystemOperationInterface* CreateFileSystemOperation( | 66 virtual fileapi::FileSystemOperationInterface* CreateFileSystemOperation( |
67 const GURL& origin_url, | 67 const GURL& origin_url, |
68 fileapi::FileSystemType file_system_type, | 68 fileapi::FileSystemType file_system_type, |
69 const FilePath& virtual_path, | 69 const FilePath& virtual_path, |
70 fileapi::FileSystemContext* context) const OVERRIDE; | 70 fileapi::FileSystemContext* context) const OVERRIDE; |
71 virtual webkit_blob::FileReader* CreateFileReader( | 71 virtual webkit_blob::FileReader* CreateFileReader( |
72 const GURL& path, | 72 const GURL& path, |
73 int64 offset, | 73 int64 offset, |
74 fileapi::FileSystemContext* context) const OVERRIDE; | 74 fileapi::FileSystemContext* context) const OVERRIDE; |
| 75 virtual fileapi::FileSystemQuotaUtil* GetQuotaUtil() OVERRIDE; |
75 | 76 |
76 // fileapi::ExternalFileSystemMountPointProvider overrides. | 77 // fileapi::ExternalFileSystemMountPointProvider overrides. |
77 virtual void GrantFullAccessToExtension( | 78 virtual void GrantFullAccessToExtension( |
78 const std::string& extension_id) OVERRIDE; | 79 const std::string& extension_id) OVERRIDE; |
79 virtual void GrantFileAccessToExtension( | 80 virtual void GrantFileAccessToExtension( |
80 const std::string& extension_id, const FilePath& virtual_path) OVERRIDE; | 81 const std::string& extension_id, const FilePath& virtual_path) OVERRIDE; |
81 virtual void RevokeAccessForExtension( | 82 virtual void RevokeAccessForExtension( |
82 const std::string& extension_id) OVERRIDE; | 83 const std::string& extension_id) OVERRIDE; |
83 virtual bool HasMountPoint(const FilePath& mount_point) OVERRIDE; | 84 virtual bool HasMountPoint(const FilePath& mount_point) OVERRIDE; |
84 virtual void AddLocalMountPoint(const FilePath& mount_point) OVERRIDE; | 85 virtual void AddLocalMountPoint(const FilePath& mount_point) OVERRIDE; |
(...skipping 42 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
127 MountPointMap mount_point_map_; | 128 MountPointMap mount_point_map_; |
128 scoped_refptr<quota::SpecialStoragePolicy> special_storage_policy_; | 129 scoped_refptr<quota::SpecialStoragePolicy> special_storage_policy_; |
129 scoped_ptr<FileAccessPermissions> file_access_permissions_; | 130 scoped_ptr<FileAccessPermissions> file_access_permissions_; |
130 scoped_ptr<fileapi::LocalFileUtil> local_file_util_; | 131 scoped_ptr<fileapi::LocalFileUtil> local_file_util_; |
131 DISALLOW_COPY_AND_ASSIGN(CrosMountPointProvider); | 132 DISALLOW_COPY_AND_ASSIGN(CrosMountPointProvider); |
132 }; | 133 }; |
133 | 134 |
134 } // namespace chromeos | 135 } // namespace chromeos |
135 | 136 |
136 #endif // WEBKIT_CHROMEOS_FILEAPI_CROS_MOUNT_POINT_PROVIDER_H_ | 137 #endif // WEBKIT_CHROMEOS_FILEAPI_CROS_MOUNT_POINT_PROVIDER_H_ |
OLD | NEW |