| 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/mtp_device_file_system_config.h" | 10 #include "webkit/fileapi/media/mtp_device_file_system_config.h" |
| (...skipping 15 matching lines...) Expand all Loading... |
| 26 | 26 |
| 27 // FileSystemMountPointProvider implementation. | 27 // FileSystemMountPointProvider implementation. |
| 28 virtual void ValidateFileSystemRoot( | 28 virtual void ValidateFileSystemRoot( |
| 29 const GURL& origin_url, | 29 const GURL& origin_url, |
| 30 FileSystemType type, | 30 FileSystemType type, |
| 31 bool create, | 31 bool create, |
| 32 const ValidateFileSystemCallback& callback) OVERRIDE; | 32 const ValidateFileSystemCallback& callback) OVERRIDE; |
| 33 virtual base::FilePath GetFileSystemRootPathOnFileThread( | 33 virtual base::FilePath GetFileSystemRootPathOnFileThread( |
| 34 const FileSystemURL& url, | 34 const FileSystemURL& url, |
| 35 bool create) OVERRIDE; | 35 bool create) OVERRIDE; |
| 36 virtual bool IsAccessAllowed(const FileSystemURL& url) OVERRIDE; | |
| 37 virtual bool IsRestrictedFileName(const base::FilePath& filename) const OVERRI
DE; | |
| 38 virtual FileSystemFileUtil* GetFileUtil(FileSystemType type) OVERRIDE; | 36 virtual FileSystemFileUtil* GetFileUtil(FileSystemType type) OVERRIDE; |
| 39 virtual AsyncFileUtil* GetAsyncFileUtil(FileSystemType type) OVERRIDE; | 37 virtual AsyncFileUtil* GetAsyncFileUtil(FileSystemType type) OVERRIDE; |
| 40 virtual FilePermissionPolicy GetPermissionPolicy( | 38 virtual FilePermissionPolicy GetPermissionPolicy( |
| 41 const FileSystemURL& url, | 39 const FileSystemURL& url, |
| 42 int permissions) const OVERRIDE; | 40 int permissions) const OVERRIDE; |
| 43 virtual FileSystemOperation* CreateFileSystemOperation( | 41 virtual FileSystemOperation* CreateFileSystemOperation( |
| 44 const FileSystemURL& url, | 42 const FileSystemURL& url, |
| 45 FileSystemContext* context, | 43 FileSystemContext* context, |
| 46 base::PlatformFileError* error_code) const OVERRIDE; | 44 base::PlatformFileError* error_code) const OVERRIDE; |
| 47 virtual webkit_blob::FileStreamReader* CreateFileStreamReader( | 45 virtual webkit_blob::FileStreamReader* CreateFileStreamReader( |
| (...skipping 27 matching lines...) Expand all Loading... |
| 75 | 73 |
| 76 // TODO(kmadhusu): Remove |device_media_file_util_adapter_| after | 74 // TODO(kmadhusu): Remove |device_media_file_util_adapter_| after |
| 77 // fixing crbug.com/154835. | 75 // fixing crbug.com/154835. |
| 78 scoped_ptr<AsyncFileUtilAdapter> device_media_file_util_adapter_; | 76 scoped_ptr<AsyncFileUtilAdapter> device_media_file_util_adapter_; |
| 79 #endif | 77 #endif |
| 80 }; | 78 }; |
| 81 | 79 |
| 82 } // namespace fileapi | 80 } // namespace fileapi |
| 83 | 81 |
| 84 #endif // WEBKIT_FILEAPI_ISOLATED_MOUNT_POINT_PROVIDER_H_ | 82 #endif // WEBKIT_FILEAPI_ISOLATED_MOUNT_POINT_PROVIDER_H_ |
| OLD | NEW |