| 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 29 matching lines...) Expand all Loading... |
| 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::MessageLoopProxy* file_proxy, |
| 49 FileSystemContext* context) const OVERRIDE; | 49 FileSystemContext* context) const OVERRIDE; |
| 50 virtual webkit_blob::FileReader* CreateFileReader( |
| 51 const GURL& url, |
| 52 int64 offset, |
| 53 base::MessageLoopProxy* file_proxy, |
| 54 FileSystemContext* context) const OVERRIDE; |
| 50 | 55 |
| 51 private: | 56 private: |
| 52 IsolatedContext* isolated_context() const; | 57 IsolatedContext* isolated_context() const; |
| 53 | 58 |
| 54 scoped_ptr<FileSystemFileUtil> isolated_file_util_; | 59 scoped_ptr<FileSystemFileUtil> isolated_file_util_; |
| 55 }; | 60 }; |
| 56 | 61 |
| 57 } // namespace fileapi | 62 } // namespace fileapi |
| 58 | 63 |
| 59 #endif // WEBKIT_FILEAPI_ISOLATED_MOUNT_POINT_PROVIDER_H_ | 64 #endif // WEBKIT_FILEAPI_ISOLATED_MOUNT_POINT_PROVIDER_H_ |
| OLD | NEW |