|  | // Copyright 2013 The Chromium Authors. All rights reserved. | 
|  | // Use of this source code is governed by a BSD-style license that can be | 
|  | // found in the LICENSE file. | 
|  |  | 
|  | #ifndef STORAGE_COMMON_FILE_SYSTEM_FILE_SYSTEM_INFO_H_ | 
|  | #define STORAGE_COMMON_FILE_SYSTEM_FILE_SYSTEM_INFO_H_ | 
|  |  | 
|  | #include <string> | 
|  |  | 
|  | #include "base/component_export.h" | 
|  | #include "storage/common/file_system/file_system_types.h" | 
|  | #include "url/gurl.h" | 
|  |  | 
|  | namespace storage { | 
|  |  | 
|  | // This struct is used to send the necessary information for Blink to create a | 
|  | // DOMFileSystem.  Since Blink side only uses mount_type (rather than | 
|  | // detailed/cracked filesystem type) this only contains mount_type but not type. | 
|  | struct COMPONENT_EXPORT(STORAGE_COMMON) FileSystemInfo { | 
|  | FileSystemInfo(); | 
|  | FileSystemInfo(const std::string& filesystem_name, | 
|  | const GURL& root_url, | 
|  | storage::FileSystemType mount_type); | 
|  | ~FileSystemInfo(); | 
|  |  | 
|  | std::string name; | 
|  | GURL root_url; | 
|  | storage::FileSystemType mount_type; | 
|  | }; | 
|  |  | 
|  | }  // namespace storage | 
|  |  | 
|  | #endif  // STORAGE_COMMON_FILE_SYSTEM_FILE_SYSTEM_INFO_H_ |