| OLD | NEW |
| 1 // Copyright 2013 The Chromium Authors. All rights reserved. | 1 // Copyright 2013 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_INFO_H_ | 5 #ifndef STORAGE_COMMON_FILEAPI_FILE_SYSTEM_INFO_H_ |
| 6 #define WEBKIT_COMMON_FILEAPI_FILE_SYSTEM_INFO_H_ | 6 #define STORAGE_COMMON_FILEAPI_FILE_SYSTEM_INFO_H_ |
| 7 | 7 |
| 8 #include <string> | 8 #include <string> |
| 9 | 9 |
| 10 #include "storage/common/fileapi/file_system_types.h" |
| 11 #include "storage/common/storage_common_export.h" |
| 10 #include "url/gurl.h" | 12 #include "url/gurl.h" |
| 11 #include "webkit/common/fileapi/file_system_types.h" | |
| 12 #include "webkit/common/storage_common_export.h" | |
| 13 | 13 |
| 14 namespace storage { | 14 namespace storage { |
| 15 | 15 |
| 16 // This struct is used to send the necessary information for Blink to create a | 16 // This struct is used to send the necessary information for Blink to create a |
| 17 // DOMFileSystem. Since Blink side only uses mount_type (rather than | 17 // DOMFileSystem. Since Blink side only uses mount_type (rather than |
| 18 // detailed/cracked filesystem type) this only contains mount_type but not type. | 18 // detailed/cracked filesystem type) this only contains mount_type but not type. |
| 19 struct STORAGE_COMMON_EXPORT FileSystemInfo { | 19 struct STORAGE_COMMON_EXPORT FileSystemInfo { |
| 20 FileSystemInfo(); | 20 FileSystemInfo(); |
| 21 FileSystemInfo(const std::string& filesystem_name, | 21 FileSystemInfo(const std::string& filesystem_name, |
| 22 const GURL& root_url, | 22 const GURL& root_url, |
| 23 storage::FileSystemType mount_type); | 23 storage::FileSystemType mount_type); |
| 24 ~FileSystemInfo(); | 24 ~FileSystemInfo(); |
| 25 | 25 |
| 26 std::string name; | 26 std::string name; |
| 27 GURL root_url; | 27 GURL root_url; |
| 28 storage::FileSystemType mount_type; | 28 storage::FileSystemType mount_type; |
| 29 }; | 29 }; |
| 30 | 30 |
| 31 } // namespace storage | 31 } // namespace storage |
| 32 | 32 |
| 33 #endif // WEBKIT_COMMON_FILEAPI_FILE_SYSTEM_INFO_H_ | 33 #endif // STORAGE_COMMON_FILEAPI_FILE_SYSTEM_INFO_H_ |
| OLD | NEW |