| 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.h" | 11 #include "base/files/file.h" |
| 12 #include "base/files/file_path.h" | 12 #include "base/files/file_path.h" |
| 13 #include "base/platform_file.h" |
| 13 #include "third_party/WebKit/public/platform/WebFileError.h" | 14 #include "third_party/WebKit/public/platform/WebFileError.h" |
| 14 #include "third_party/WebKit/public/platform/WebFileSystemType.h" | 15 #include "third_party/WebKit/public/platform/WebFileSystemType.h" |
| 15 #include "webkit/common/fileapi/file_system_info.h" | 16 #include "webkit/common/fileapi/file_system_info.h" |
| 16 #include "webkit/common/fileapi/file_system_types.h" | 17 #include "webkit/common/fileapi/file_system_types.h" |
| 17 #include "webkit/common/quota/quota_types.h" | 18 #include "webkit/common/quota/quota_types.h" |
| 18 #include "webkit/common/webkit_storage_common_export.h" | 19 #include "webkit/common/webkit_storage_common_export.h" |
| 19 | 20 |
| 20 class GURL; | 21 class GURL; |
| 21 | 22 |
| 22 namespace fileapi { | 23 namespace fileapi { |
| (...skipping 150 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 173 const GURL& origin_url, | 174 const GURL& origin_url, |
| 174 const std::string& mount_name); | 175 const std::string& mount_name); |
| 175 | 176 |
| 176 // Translates the net::Error to base::File::Error. | 177 // Translates the net::Error to base::File::Error. |
| 177 WEBKIT_STORAGE_COMMON_EXPORT base::File::Error | 178 WEBKIT_STORAGE_COMMON_EXPORT base::File::Error |
| 178 NetErrorToFileError(int error); | 179 NetErrorToFileError(int error); |
| 179 | 180 |
| 180 } // namespace fileapi | 181 } // namespace fileapi |
| 181 | 182 |
| 182 #endif // WEBKIT_COMMON_FILEAPI_FILE_SYSTEM_UTIL_H_ | 183 #endif // WEBKIT_COMMON_FILEAPI_FILE_SYSTEM_UTIL_H_ |
| OLD | NEW |