Chromium Code Reviews| 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); | |
|
kinuko
2013/09/10 07:02:02
nit: I guess you may also need out-of-line dtor (f
nhiroki
2013/09/12 05:08:58
Done.
| |
| 22 | |
| 23 std::string name; | |
| 24 GURL root_url; | |
| 25 fileapi::FileSystemType mount_type; | |
| 26 }; | |
| 27 | |
| 28 } // namespace fileapi | |
| 29 | |
| 30 #endif // WEBKIT_COMMON_FILEAPI_FILE_SYSTEM_INFO_H_ | |
| OLD | NEW |