| OLD | NEW |
| 1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2011 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 35 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 46 fileapi::FileSystemType type, | 46 fileapi::FileSystemType type, |
| 47 const FilePath& virtual_path, | 47 const FilePath& virtual_path, |
| 48 bool create) OVERRIDE; | 48 bool create) OVERRIDE; |
| 49 virtual bool IsAccessAllowed( | 49 virtual bool IsAccessAllowed( |
| 50 const GURL& origin_url, | 50 const GURL& origin_url, |
| 51 fileapi::FileSystemType type, | 51 fileapi::FileSystemType type, |
| 52 const FilePath& virtual_path) OVERRIDE; | 52 const FilePath& virtual_path) OVERRIDE; |
| 53 virtual bool IsRestrictedFileName(const FilePath& filename) const OVERRIDE; | 53 virtual bool IsRestrictedFileName(const FilePath& filename) const OVERRIDE; |
| 54 virtual std::vector<FilePath> GetRootDirectories() const OVERRIDE; | 54 virtual std::vector<FilePath> GetRootDirectories() const OVERRIDE; |
| 55 virtual fileapi::FileSystemFileUtil* GetFileUtil() OVERRIDE; | 55 virtual fileapi::FileSystemFileUtil* GetFileUtil() OVERRIDE; |
| 56 virtual FileSystemOperationInterface* CreateFileSystemOperation( |
| 57 const GURL& url, |
| 58 FileSystemCallbackDispatcher* dispatcher, |
| 59 base::MessageLoopProxy* file_proxy, |
| 60 FileSystemContext* context) const OVERRIDE; |
| 56 | 61 |
| 57 // fileapi::ExternalFileSystemMountPointProvider overrides. | 62 // fileapi::ExternalFileSystemMountPointProvider overrides. |
| 58 virtual void GrantFullAccessToExtension( | 63 virtual void GrantFullAccessToExtension( |
| 59 const std::string& extension_id) OVERRIDE; | 64 const std::string& extension_id) OVERRIDE; |
| 60 virtual void GrantFileAccessToExtension( | 65 virtual void GrantFileAccessToExtension( |
| 61 const std::string& extension_id, const FilePath& virtual_path) OVERRIDE; | 66 const std::string& extension_id, const FilePath& virtual_path) OVERRIDE; |
| 62 virtual void RevokeAccessForExtension( | 67 virtual void RevokeAccessForExtension( |
| 63 const std::string& extension_id) OVERRIDE; | 68 const std::string& extension_id) OVERRIDE; |
| 64 virtual void AddMountPoint(FilePath mount_point) OVERRIDE; | 69 virtual void AddMountPoint(FilePath mount_point) OVERRIDE; |
| 65 virtual void RemoveMountPoint(FilePath mount_point) OVERRIDE; | 70 virtual void RemoveMountPoint(FilePath mount_point) OVERRIDE; |
| (...skipping 12 matching lines...) Expand all Loading... |
| 78 MountPointMap mount_point_map_; | 83 MountPointMap mount_point_map_; |
| 79 scoped_refptr<quota::SpecialStoragePolicy> special_storage_policy_; | 84 scoped_refptr<quota::SpecialStoragePolicy> special_storage_policy_; |
| 80 scoped_ptr<FileAccessPermissions> file_access_permissions_; | 85 scoped_ptr<FileAccessPermissions> file_access_permissions_; |
| 81 scoped_ptr<fileapi::LocalFileUtil> local_file_util_; | 86 scoped_ptr<fileapi::LocalFileUtil> local_file_util_; |
| 82 DISALLOW_COPY_AND_ASSIGN(CrosMountPointProvider); | 87 DISALLOW_COPY_AND_ASSIGN(CrosMountPointProvider); |
| 83 }; | 88 }; |
| 84 | 89 |
| 85 } // namespace chromeos | 90 } // namespace chromeos |
| 86 | 91 |
| 87 #endif // WEBKIT_CHROMEOS_FILEAPI_CROS_MOUNT_POINT_PROVIDER_H_ | 92 #endif // WEBKIT_CHROMEOS_FILEAPI_CROS_MOUNT_POINT_PROVIDER_H_ |
| OLD | NEW |