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_BROWSER_FILEAPI_FILE_SYSTEM_MOUNT_POINT_PROVIDER_H_ | 5 #ifndef WEBKIT_BROWSER_FILEAPI_FILE_SYSTEM_MOUNT_POINT_PROVIDER_H_ |
6 #define WEBKIT_BROWSER_FILEAPI_FILE_SYSTEM_MOUNT_POINT_PROVIDER_H_ | 6 #define WEBKIT_BROWSER_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/files/file_path.h" | 12 #include "base/files/file_path.h" |
13 #include "base/memory/scoped_ptr.h" | 13 #include "base/memory/scoped_ptr.h" |
14 #include "base/platform_file.h" | 14 #include "base/platform_file.h" |
15 #include "webkit/browser/fileapi/file_permission_policy.h" | 15 #include "webkit/browser/fileapi/file_permission_policy.h" |
16 #include "webkit/browser/fileapi/open_file_system_mode.h" | 16 #include "webkit/browser/fileapi/open_file_system_mode.h" |
17 #include "webkit/common/fileapi/file_system_types.h" | 17 #include "webkit/common/fileapi/file_system_types.h" |
18 #include "webkit/storage/webkit_storage_export.h" | 18 #include "webkit/storage/webkit_storage_export.h" |
19 | 19 |
| 20 class GURL; |
| 21 |
20 namespace webkit_blob { | 22 namespace webkit_blob { |
21 class FileStreamReader; | 23 class FileStreamReader; |
22 } | 24 } |
23 | 25 |
24 namespace fileapi { | 26 namespace fileapi { |
25 | 27 |
26 class AsyncFileUtil; | 28 class AsyncFileUtil; |
27 class CopyOrMoveFileValidatorFactory; | 29 class CopyOrMoveFileValidatorFactory; |
28 class FileSystemURL; | 30 class FileSystemURL; |
29 class FileStreamWriter; | 31 class FileStreamWriter; |
(...skipping 126 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
156 const std::string& extension_id) = 0; | 158 const std::string& extension_id) = 0; |
157 // Gets virtual path by known filesystem path. Returns false when filesystem | 159 // Gets virtual path by known filesystem path. Returns false when filesystem |
158 // path is not exposed by this provider. | 160 // path is not exposed by this provider. |
159 virtual bool GetVirtualPath(const base::FilePath& file_system_path, | 161 virtual bool GetVirtualPath(const base::FilePath& file_system_path, |
160 base::FilePath* virtual_path) = 0; | 162 base::FilePath* virtual_path) = 0; |
161 }; | 163 }; |
162 | 164 |
163 } // namespace fileapi | 165 } // namespace fileapi |
164 | 166 |
165 #endif // WEBKIT_BROWSER_FILEAPI_FILE_SYSTEM_MOUNT_POINT_PROVIDER_H_ | 167 #endif // WEBKIT_BROWSER_FILEAPI_FILE_SYSTEM_MOUNT_POINT_PROVIDER_H_ |
OLD | NEW |