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 40 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
51 const GURL& url, | 51 const GURL& url, |
52 int64 offset, | 52 int64 offset, |
53 FileSystemContext* context) const OVERRIDE; | 53 FileSystemContext* context) const OVERRIDE; |
54 virtual FileStreamWriter* CreateFileStreamWriter( | 54 virtual FileStreamWriter* CreateFileStreamWriter( |
55 const GURL& url, | 55 const GURL& url, |
56 int64 offset, | 56 int64 offset, |
57 FileSystemContext* context) const OVERRIDE; | 57 FileSystemContext* context) const OVERRIDE; |
58 virtual FileSystemQuotaUtil* GetQuotaUtil() OVERRIDE; | 58 virtual FileSystemQuotaUtil* GetQuotaUtil() OVERRIDE; |
59 | 59 |
60 private: | 60 private: |
61 IsolatedContext* isolated_context() const; | |
62 FilePath GetPathFromURL(const GURL& url) const; | |
63 | |
64 scoped_ptr<IsolatedFileUtil> isolated_file_util_; | 61 scoped_ptr<IsolatedFileUtil> isolated_file_util_; |
65 }; | 62 }; |
66 | 63 |
67 } // namespace fileapi | 64 } // namespace fileapi |
68 | 65 |
69 #endif // WEBKIT_FILEAPI_ISOLATED_MOUNT_POINT_PROVIDER_H_ | 66 #endif // WEBKIT_FILEAPI_ISOLATED_MOUNT_POINT_PROVIDER_H_ |
OLD | NEW |