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 <vector> | 8 #include <vector> |
9 | 9 |
10 #include "base/memory/scoped_ptr.h" | 10 #include "base/memory/scoped_ptr.h" |
(...skipping 27 matching lines...) Expand all Loading... |
38 const FilePath& virtual_path) OVERRIDE; | 38 const FilePath& virtual_path) OVERRIDE; |
39 virtual bool IsRestrictedFileName(const FilePath& filename) const OVERRIDE; | 39 virtual bool IsRestrictedFileName(const FilePath& filename) const OVERRIDE; |
40 virtual std::vector<FilePath> GetRootDirectories() const OVERRIDE; | 40 virtual std::vector<FilePath> GetRootDirectories() const OVERRIDE; |
41 virtual FileSystemFileUtil* GetFileUtil() OVERRIDE; | 41 virtual FileSystemFileUtil* GetFileUtil() OVERRIDE; |
42 virtual FilePath GetPathForPermissionsCheck(const FilePath& virtual_path) | 42 virtual FilePath GetPathForPermissionsCheck(const FilePath& virtual_path) |
43 const OVERRIDE; | 43 const OVERRIDE; |
44 virtual FileSystemOperationInterface* CreateFileSystemOperation( | 44 virtual FileSystemOperationInterface* CreateFileSystemOperation( |
45 const GURL& origin_url, | 45 const GURL& origin_url, |
46 FileSystemType file_system_type, | 46 FileSystemType file_system_type, |
47 const FilePath& virtual_path, | 47 const FilePath& virtual_path, |
48 base::MessageLoopProxy* file_proxy, | 48 base::TaskRunner* task_runner, |
49 FileSystemContext* context) const OVERRIDE; | 49 FileSystemContext* context) const OVERRIDE; |
50 virtual webkit_blob::FileReader* CreateFileReader( | 50 virtual webkit_blob::FileReader* CreateFileReader( |
51 const GURL& url, | 51 const GURL& url, |
52 int64 offset, | 52 int64 offset, |
53 base::MessageLoopProxy* file_proxy, | 53 base::TaskRunner* task_runner, |
54 FileSystemContext* context) const OVERRIDE; | 54 FileSystemContext* context) const OVERRIDE; |
55 | 55 |
56 private: | 56 private: |
57 IsolatedContext* isolated_context() const; | 57 IsolatedContext* isolated_context() const; |
58 | 58 |
59 scoped_ptr<FileSystemFileUtil> isolated_file_util_; | 59 scoped_ptr<FileSystemFileUtil> isolated_file_util_; |
60 }; | 60 }; |
61 | 61 |
62 } // namespace fileapi | 62 } // namespace fileapi |
63 | 63 |
64 #endif // WEBKIT_FILEAPI_ISOLATED_MOUNT_POINT_PROVIDER_H_ | 64 #endif // WEBKIT_FILEAPI_ISOLATED_MOUNT_POINT_PROVIDER_H_ |
OLD | NEW |