| 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_TEST_MOUNT_POINT_PROVIDER_H_ | 5 #ifndef WEBKIT_FILEAPI_TEST_MOUNT_POINT_PROVIDER_H_ |
| 6 #define WEBKIT_FILEAPI_TEST_MOUNT_POINT_PROVIDER_H_ | 6 #define WEBKIT_FILEAPI_TEST_MOUNT_POINT_PROVIDER_H_ |
| 7 | 7 |
| 8 #include "base/file_path.h" | 8 #include "base/file_path.h" |
| 9 #include "base/memory/ref_counted.h" | 9 #include "base/memory/ref_counted.h" |
| 10 #include "base/memory/scoped_ptr.h" | 10 #include "base/memory/scoped_ptr.h" |
| (...skipping 24 matching lines...) Expand all Loading... |
| 35 | 35 |
| 36 // FileSystemMountPointProvider implementation. | 36 // FileSystemMountPointProvider implementation. |
| 37 virtual void ValidateFileSystemRoot( | 37 virtual void ValidateFileSystemRoot( |
| 38 const GURL& origin_url, | 38 const GURL& origin_url, |
| 39 FileSystemType type, | 39 FileSystemType type, |
| 40 bool create, | 40 bool create, |
| 41 const ValidateFileSystemCallback& callback) OVERRIDE; | 41 const ValidateFileSystemCallback& callback) OVERRIDE; |
| 42 virtual base::FilePath GetFileSystemRootPathOnFileThread( | 42 virtual base::FilePath GetFileSystemRootPathOnFileThread( |
| 43 const FileSystemURL& url, | 43 const FileSystemURL& url, |
| 44 bool create) OVERRIDE; | 44 bool create) OVERRIDE; |
| 45 virtual bool IsAccessAllowed(const FileSystemURL& url) OVERRIDE; | |
| 46 virtual bool IsRestrictedFileName(const base::FilePath& filename) const OVERRI
DE; | |
| 47 virtual FileSystemFileUtil* GetFileUtil(FileSystemType type) OVERRIDE; | 45 virtual FileSystemFileUtil* GetFileUtil(FileSystemType type) OVERRIDE; |
| 48 virtual AsyncFileUtil* GetAsyncFileUtil(FileSystemType type) OVERRIDE; | 46 virtual AsyncFileUtil* GetAsyncFileUtil(FileSystemType type) OVERRIDE; |
| 49 virtual FilePermissionPolicy GetPermissionPolicy( | 47 virtual FilePermissionPolicy GetPermissionPolicy( |
| 50 const FileSystemURL& url, | 48 const FileSystemURL& url, |
| 51 int permissions) const OVERRIDE; | 49 int permissions) const OVERRIDE; |
| 52 virtual FileSystemOperation* CreateFileSystemOperation( | 50 virtual FileSystemOperation* CreateFileSystemOperation( |
| 53 const FileSystemURL& url, | 51 const FileSystemURL& url, |
| 54 FileSystemContext* context, | 52 FileSystemContext* context, |
| 55 base::PlatformFileError* error_code) const OVERRIDE; | 53 base::PlatformFileError* error_code) const OVERRIDE; |
| 56 virtual webkit_blob::FileStreamReader* CreateFileStreamReader( | 54 virtual webkit_blob::FileStreamReader* CreateFileStreamReader( |
| (...skipping 20 matching lines...) Expand all Loading... |
| 77 base::FilePath base_path_; | 75 base::FilePath base_path_; |
| 78 scoped_refptr<base::SequencedTaskRunner> task_runner_; | 76 scoped_refptr<base::SequencedTaskRunner> task_runner_; |
| 79 scoped_ptr<AsyncFileUtilAdapter> local_file_util_; | 77 scoped_ptr<AsyncFileUtilAdapter> local_file_util_; |
| 80 scoped_ptr<QuotaUtil> quota_util_; | 78 scoped_ptr<QuotaUtil> quota_util_; |
| 81 UpdateObserverList observers_; | 79 UpdateObserverList observers_; |
| 82 }; | 80 }; |
| 83 | 81 |
| 84 } // namespace fileapi | 82 } // namespace fileapi |
| 85 | 83 |
| 86 #endif // WEBKIT_FILEAPI_TEST_MOUNT_POINT_PROVIDER_H_ | 84 #endif // WEBKIT_FILEAPI_TEST_MOUNT_POINT_PROVIDER_H_ |
| OLD | NEW |