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_COMMON_FILEAPI_FILE_SYSTEM_UTIL_H_ | 5 #ifndef WEBKIT_COMMON_FILEAPI_FILE_SYSTEM_UTIL_H_ |
6 #define WEBKIT_COMMON_FILEAPI_FILE_SYSTEM_UTIL_H_ | 6 #define WEBKIT_COMMON_FILEAPI_FILE_SYSTEM_UTIL_H_ |
7 | 7 |
8 #include <string> | 8 #include <string> |
9 #include <vector> | 9 #include <vector> |
10 | 10 |
11 #include "base/files/file_path.h" | 11 #include "base/files/file_path.h" |
12 #include "base/platform_file.h" | 12 #include "base/platform_file.h" |
13 #include "third_party/WebKit/public/platform/WebFileSystemType.h" | 13 #include "third_party/WebKit/public/platform/WebFileSystemType.h" |
14 #include "third_party/WebKit/Source/WebKit/chromium/public/WebFileError.h" | 14 #include "third_party/WebKit/Source/WebKit/chromium/public/WebFileError.h" |
15 #include "webkit/common/fileapi/file_system_types.h" | 15 #include "webkit/common/fileapi/file_system_types.h" |
16 #include "webkit/quota/quota_types.h" | 16 #include "webkit/common/quota/quota_types.h" |
17 #include "webkit/storage/webkit_storage_export.h" | 17 #include "webkit/storage/webkit_storage_export.h" |
18 | 18 |
19 class GURL; | 19 class GURL; |
20 | 20 |
21 namespace fileapi { | 21 namespace fileapi { |
22 | 22 |
23 extern const char kPersistentDir[]; | 23 extern const char kPersistentDir[]; |
24 extern const char kTemporaryDir[]; | 24 extern const char kTemporaryDir[]; |
25 extern const char kExternalDir[]; | 25 extern const char kExternalDir[]; |
26 extern const char kIsolatedDir[]; | 26 extern const char kIsolatedDir[]; |
(...skipping 113 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
140 // and |filesystem_id|. If the |optional_root_name| is given the resulting | 140 // and |filesystem_id|. If the |optional_root_name| is given the resulting |
141 // root URI will point to the subfolder within the isolated filesystem. | 141 // root URI will point to the subfolder within the isolated filesystem. |
142 WEBKIT_STORAGE_EXPORT std::string GetIsolatedFileSystemRootURIString( | 142 WEBKIT_STORAGE_EXPORT std::string GetIsolatedFileSystemRootURIString( |
143 const GURL& origin_url, | 143 const GURL& origin_url, |
144 const std::string& filesystem_id, | 144 const std::string& filesystem_id, |
145 const std::string& optional_root_name); | 145 const std::string& optional_root_name); |
146 | 146 |
147 } // namespace fileapi | 147 } // namespace fileapi |
148 | 148 |
149 #endif // WEBKIT_COMMON_FILEAPI_FILE_SYSTEM_UTIL_H_ | 149 #endif // WEBKIT_COMMON_FILEAPI_FILE_SYSTEM_UTIL_H_ |
OLD | NEW |