Revert of https://codereview.chromium.org/94133003/
[chromium-blink-merge.git] / webkit / common / fileapi / file_system_info.h
blob9affd57f17135f90a3579f4d29d2666ac71ca1b6
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.
5 #ifndef WEBKIT_COMMON_FILEAPI_FILE_SYSTEM_INFO_H_
6 #define WEBKIT_COMMON_FILEAPI_FILE_SYSTEM_INFO_H_
8 #include <string>
10 #include "url/gurl.h"
11 #include "webkit/common/fileapi/file_system_types.h"
12 #include "webkit/common/webkit_storage_common_export.h"
14 namespace fileapi {
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
18 // detailed/cracked filesystem type) this only contains mount_type but not type.
19 struct WEBKIT_STORAGE_COMMON_EXPORT FileSystemInfo {
20 FileSystemInfo();
21 FileSystemInfo(const std::string& filesystem_name,
22 const GURL& root_url,
23 fileapi::FileSystemType mount_type);
24 ~FileSystemInfo();
26 std::string name;
27 GURL root_url;
28 fileapi::FileSystemType mount_type;
31 } // namespace fileapi
33 #endif // WEBKIT_COMMON_FILEAPI_FILE_SYSTEM_INFO_H_