| OLD | NEW |
| 1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2011 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_UTIL_H_ | 5 #ifndef WEBKIT_FILEAPI_FILE_SYSTEM_UTIL_H_ |
| 6 #define WEBKIT_FILEAPI_FILE_SYSTEM_UTIL_H_ | 6 #define WEBKIT_FILEAPI_FILE_SYSTEM_UTIL_H_ |
| 7 #pragma once | 7 #pragma once |
| 8 | 8 |
| 9 #include "webkit/fileapi/file_system_types.h" | 9 #include "webkit/fileapi/file_system_types.h" |
| 10 #include "webkit/quota/quota_types.h" | 10 #include "webkit/quota/quota_types.h" |
| (...skipping 15 matching lines...) Expand all Loading... |
| 26 bool CrackFileSystemURL(const GURL& url, GURL* origin_url, FileSystemType* type, | 26 bool CrackFileSystemURL(const GURL& url, GURL* origin_url, FileSystemType* type, |
| 27 FilePath* file_path); | 27 FilePath* file_path); |
| 28 | 28 |
| 29 GURL GetFileSystemRootURI(const GURL& origin_url, fileapi::FileSystemType type); | 29 GURL GetFileSystemRootURI(const GURL& origin_url, fileapi::FileSystemType type); |
| 30 | 30 |
| 31 FileSystemType QuotaStorageTypeToFileSystemType( | 31 FileSystemType QuotaStorageTypeToFileSystemType( |
| 32 quota::StorageType storage_type); | 32 quota::StorageType storage_type); |
| 33 | 33 |
| 34 quota::StorageType FileSystemTypeToQuotaStorageType(FileSystemType type); | 34 quota::StorageType FileSystemTypeToQuotaStorageType(FileSystemType type); |
| 35 | 35 |
| 36 std::string GetOriginIdentifierFromURL(const GURL& url); |
| 37 GURL GetOriginURLFromIdentifier(const std::string& origin_identifier); |
| 38 |
| 36 } // namespace fileapi | 39 } // namespace fileapi |
| 37 | 40 |
| 38 #endif // WEBKIT_FILEAPI_FILE_SYSTEM_UTIL_H_ | 41 #endif // WEBKIT_FILEAPI_FILE_SYSTEM_UTIL_H_ |
| OLD | NEW |