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 26 matching lines...) Expand all Loading... |
37 const GURL& origin_url, | 37 const GURL& origin_url, |
38 FileSystemType type, | 38 FileSystemType type, |
39 bool create, | 39 bool create, |
40 const ValidateFileSystemCallback& callback) OVERRIDE; | 40 const ValidateFileSystemCallback& callback) OVERRIDE; |
41 virtual FilePath GetFileSystemRootPathOnFileThread( | 41 virtual FilePath GetFileSystemRootPathOnFileThread( |
42 const FileSystemURL& url, | 42 const FileSystemURL& url, |
43 bool create) OVERRIDE; | 43 bool create) OVERRIDE; |
44 virtual bool IsAccessAllowed(const FileSystemURL& url) OVERRIDE; | 44 virtual bool IsAccessAllowed(const FileSystemURL& url) OVERRIDE; |
45 virtual bool IsRestrictedFileName(const FilePath& filename) const OVERRIDE; | 45 virtual bool IsRestrictedFileName(const FilePath& filename) const OVERRIDE; |
46 virtual FileSystemFileUtil* GetFileUtil(FileSystemType type) OVERRIDE; | 46 virtual FileSystemFileUtil* GetFileUtil(FileSystemType type) OVERRIDE; |
47 virtual FilePath GetPathForPermissionsCheck(const FilePath& virtual_path) | 47 virtual FilePermissionPolicy GetPermissionPolicy( |
48 const OVERRIDE; | 48 const FileSystemURL& url, |
| 49 int permissions) const OVERRIDE; |
49 virtual FileSystemOperation* CreateFileSystemOperation( | 50 virtual FileSystemOperation* CreateFileSystemOperation( |
50 const FileSystemURL& url, | 51 const FileSystemURL& url, |
51 FileSystemContext* context, | 52 FileSystemContext* context, |
52 base::PlatformFileError* error_code) const OVERRIDE; | 53 base::PlatformFileError* error_code) const OVERRIDE; |
53 virtual webkit_blob::FileStreamReader* CreateFileStreamReader( | 54 virtual webkit_blob::FileStreamReader* CreateFileStreamReader( |
54 const FileSystemURL& url, | 55 const FileSystemURL& url, |
55 int64 offset, | 56 int64 offset, |
56 const base::Time& expected_modification_time, | 57 const base::Time& expected_modification_time, |
57 FileSystemContext* context) const OVERRIDE; | 58 FileSystemContext* context) const OVERRIDE; |
58 virtual FileStreamWriter* CreateFileStreamWriter( | 59 virtual FileStreamWriter* CreateFileStreamWriter( |
(...skipping 15 matching lines...) Expand all Loading... |
74 FilePath base_path_; | 75 FilePath base_path_; |
75 scoped_refptr<base::SequencedTaskRunner> task_runner_; | 76 scoped_refptr<base::SequencedTaskRunner> task_runner_; |
76 scoped_ptr<LocalFileUtil> local_file_util_; | 77 scoped_ptr<LocalFileUtil> local_file_util_; |
77 scoped_ptr<QuotaUtil> quota_util_; | 78 scoped_ptr<QuotaUtil> quota_util_; |
78 UpdateObserverList observers_; | 79 UpdateObserverList observers_; |
79 }; | 80 }; |
80 | 81 |
81 } // namespace fileapi | 82 } // namespace fileapi |
82 | 83 |
83 #endif // WEBKIT_FILEAPI_TEST_MOUNT_POINT_PROVIDER_H_ | 84 #endif // WEBKIT_FILEAPI_TEST_MOUNT_POINT_PROVIDER_H_ |
OLD | NEW |