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_FILE_SYSTEM_MOUNT_POINT_PROVIDER_H_ | 5 #ifndef WEBKIT_FILEAPI_FILE_SYSTEM_MOUNT_POINT_PROVIDER_H_ |
6 #define WEBKIT_FILEAPI_FILE_SYSTEM_MOUNT_POINT_PROVIDER_H_ | 6 #define WEBKIT_FILEAPI_FILE_SYSTEM_MOUNT_POINT_PROVIDER_H_ |
7 | 7 |
8 #include <string> | 8 #include <string> |
9 #include <vector> | 9 #include <vector> |
10 | 10 |
11 #include "base/callback_forward.h" | 11 #include "base/callback_forward.h" |
12 #include "base/file_path.h" | 12 #include "base/file_path.h" |
13 #include "base/memory/scoped_ptr.h" | |
14 #include "base/platform_file.h" | 13 #include "base/platform_file.h" |
15 #include "webkit/fileapi/file_system_types.h" | 14 #include "webkit/fileapi/file_system_types.h" |
16 | 15 |
17 class GURL; | 16 class GURL; |
18 | 17 |
19 namespace webkit_blob { | 18 namespace webkit_blob { |
20 class FileReader; | 19 class FileReader; |
21 } | 20 } |
22 | 21 |
23 namespace fileapi { | 22 namespace fileapi { |
(...skipping 119 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
143 virtual void RemoveMountPoint(const FilePath& mount_point) = 0; | 142 virtual void RemoveMountPoint(const FilePath& mount_point) = 0; |
144 // Gets virtual path by known filesystem path. Returns false when filesystem | 143 // Gets virtual path by known filesystem path. Returns false when filesystem |
145 // path is not exposed by this provider. | 144 // path is not exposed by this provider. |
146 virtual bool GetVirtualPath(const FilePath& file_system_path, | 145 virtual bool GetVirtualPath(const FilePath& file_system_path, |
147 FilePath* virtual_path) = 0; | 146 FilePath* virtual_path) = 0; |
148 }; | 147 }; |
149 | 148 |
150 } // namespace fileapi | 149 } // namespace fileapi |
151 | 150 |
152 #endif // WEBKIT_FILEAPI_FILE_SYSTEM_MOUNT_POINT_PROVIDER_H_ | 151 #endif // WEBKIT_FILEAPI_FILE_SYSTEM_MOUNT_POINT_PROVIDER_H_ |
OLD | NEW |