| 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_BROWSER_CHROMEOS_FILEAPI_CROS_MOUNT_POINT_PROVIDER_H_ | 5 #ifndef WEBKIT_BROWSER_CHROMEOS_FILEAPI_CROS_MOUNT_POINT_PROVIDER_H_ |
| 6 #define WEBKIT_BROWSER_CHROMEOS_FILEAPI_CROS_MOUNT_POINT_PROVIDER_H_ | 6 #define WEBKIT_BROWSER_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 52 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 63 const fileapi::FileSystemURL& url, | 63 const fileapi::FileSystemURL& url, |
| 64 bool create) OVERRIDE; | 64 bool create) OVERRIDE; |
| 65 virtual fileapi::FileSystemFileUtil* GetFileUtil( | 65 virtual fileapi::FileSystemFileUtil* GetFileUtil( |
| 66 fileapi::FileSystemType type) OVERRIDE; | 66 fileapi::FileSystemType type) OVERRIDE; |
| 67 virtual fileapi::AsyncFileUtil* GetAsyncFileUtil( | 67 virtual fileapi::AsyncFileUtil* GetAsyncFileUtil( |
| 68 fileapi::FileSystemType type) OVERRIDE; | 68 fileapi::FileSystemType type) OVERRIDE; |
| 69 virtual fileapi::CopyOrMoveFileValidatorFactory* | 69 virtual fileapi::CopyOrMoveFileValidatorFactory* |
| 70 GetCopyOrMoveFileValidatorFactory( | 70 GetCopyOrMoveFileValidatorFactory( |
| 71 fileapi::FileSystemType type, | 71 fileapi::FileSystemType type, |
| 72 base::PlatformFileError* error_code) OVERRIDE; | 72 base::PlatformFileError* error_code) OVERRIDE; |
| 73 virtual void InitializeCopyOrMoveFileValidatorFactory( | |
| 74 fileapi::FileSystemType type, | |
| 75 scoped_ptr<fileapi::CopyOrMoveFileValidatorFactory> factory) OVERRIDE; | |
| 76 virtual fileapi::FilePermissionPolicy GetPermissionPolicy( | 73 virtual fileapi::FilePermissionPolicy GetPermissionPolicy( |
| 77 const fileapi::FileSystemURL& url, | 74 const fileapi::FileSystemURL& url, |
| 78 int permissions) const OVERRIDE; | 75 int permissions) const OVERRIDE; |
| 79 virtual fileapi::FileSystemOperation* CreateFileSystemOperation( | 76 virtual fileapi::FileSystemOperation* CreateFileSystemOperation( |
| 80 const fileapi::FileSystemURL& url, | 77 const fileapi::FileSystemURL& url, |
| 81 fileapi::FileSystemContext* context, | 78 fileapi::FileSystemContext* context, |
| 82 base::PlatformFileError* error_code) const OVERRIDE; | 79 base::PlatformFileError* error_code) const OVERRIDE; |
| 83 virtual scoped_ptr<webkit_blob::FileStreamReader> CreateFileStreamReader( | 80 virtual scoped_ptr<webkit_blob::FileStreamReader> CreateFileStreamReader( |
| 84 const fileapi::FileSystemURL& path, | 81 const fileapi::FileSystemURL& path, |
| 85 int64 offset, | 82 int64 offset, |
| (...skipping 49 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 135 // Globally visible mount points. System MountPonts instance should outlive | 132 // Globally visible mount points. System MountPonts instance should outlive |
| 136 // all CrosMountPointProvider instances, so raw pointer is safe. | 133 // all CrosMountPointProvider instances, so raw pointer is safe. |
| 137 fileapi::ExternalMountPoints* system_mount_points_; | 134 fileapi::ExternalMountPoints* system_mount_points_; |
| 138 | 135 |
| 139 DISALLOW_COPY_AND_ASSIGN(CrosMountPointProvider); | 136 DISALLOW_COPY_AND_ASSIGN(CrosMountPointProvider); |
| 140 }; | 137 }; |
| 141 | 138 |
| 142 } // namespace chromeos | 139 } // namespace chromeos |
| 143 | 140 |
| 144 #endif // WEBKIT_BROWSER_CHROMEOS_FILEAPI_CROS_MOUNT_POINT_PROVIDER_H_ | 141 #endif // WEBKIT_BROWSER_CHROMEOS_FILEAPI_CROS_MOUNT_POINT_PROVIDER_H_ |
| OLD | NEW |