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