| 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 #pragma once | 7 #pragma once |
| 8 | 8 |
| 9 #include "base/file_path.h" | 9 #include "base/file_path.h" |
| 10 #include "base/memory/ref_counted.h" | 10 #include "base/memory/ref_counted.h" |
| (...skipping 40 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 51 virtual bool IsRestrictedFileName(const FilePath& filename) const OVERRIDE; | 51 virtual bool IsRestrictedFileName(const FilePath& filename) const OVERRIDE; |
| 52 virtual std::vector<FilePath> GetRootDirectories() const OVERRIDE; | 52 virtual std::vector<FilePath> GetRootDirectories() const OVERRIDE; |
| 53 virtual FileSystemFileUtil* GetFileUtil() OVERRIDE; | 53 virtual FileSystemFileUtil* GetFileUtil() OVERRIDE; |
| 54 virtual FilePath GetPathForPermissionsCheck(const FilePath& virtual_path) | 54 virtual FilePath GetPathForPermissionsCheck(const FilePath& virtual_path) |
| 55 const OVERRIDE; | 55 const OVERRIDE; |
| 56 virtual FileSystemOperationInterface* CreateFileSystemOperation( | 56 virtual FileSystemOperationInterface* CreateFileSystemOperation( |
| 57 const GURL& origin_url, | 57 const GURL& origin_url, |
| 58 FileSystemType file_system_type, | 58 FileSystemType file_system_type, |
| 59 const FilePath& virtual_path, | 59 const FilePath& virtual_path, |
| 60 FileSystemContext* context) const OVERRIDE; | 60 FileSystemContext* context) const OVERRIDE; |
| 61 virtual webkit_blob::FileReader* CreateFileReader( | 61 virtual webkit_blob::FileStreamReader* CreateFileStreamReader( |
| 62 const GURL& url, | 62 const GURL& url, |
| 63 int64 offset, | 63 int64 offset, |
| 64 FileSystemContext* context) const OVERRIDE; | 64 FileSystemContext* context) const OVERRIDE; |
| 65 virtual FileWriter* CreateFileWriter( | 65 virtual FileWriter* CreateFileWriter( |
| 66 const GURL& url, | 66 const GURL& url, |
| 67 int64 offset, | 67 int64 offset, |
| 68 FileSystemContext* context) const OVERRIDE; | 68 FileSystemContext* context) const OVERRIDE; |
| 69 virtual FileSystemQuotaUtil* GetQuotaUtil() OVERRIDE; | 69 virtual FileSystemQuotaUtil* GetQuotaUtil() OVERRIDE; |
| 70 | 70 |
| 71 private: | 71 private: |
| 72 FilePath base_path_; | 72 FilePath base_path_; |
| 73 scoped_ptr<FileSystemFileUtil> local_file_util_; | 73 scoped_ptr<FileSystemFileUtil> local_file_util_; |
| 74 scoped_ptr<FileSystemQuotaUtil> quota_util_; | 74 scoped_ptr<FileSystemQuotaUtil> quota_util_; |
| 75 }; | 75 }; |
| 76 | 76 |
| 77 } // namespace fileapi | 77 } // namespace fileapi |
| 78 | 78 |
| 79 #endif // WEBKIT_FILEAPI_TEST_MOUNT_POINT_PROVIDER_H_ | 79 #endif // WEBKIT_FILEAPI_TEST_MOUNT_POINT_PROVIDER_H_ |
| OLD | NEW |