blob: 24c0338c9c735f60d45481af252f09691f3039cd (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
|
// 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 WEBKIT_COMMON_FILEAPI_FILE_SYSTEM_INFO_H_
#define WEBKIT_COMMON_FILEAPI_FILE_SYSTEM_INFO_H_
#include <string>
#include "url/gurl.h"
#include "webkit/common/fileapi/file_system_types.h"
#include "webkit/common/storage_export.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 STORAGE_EXPORT 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 // WEBKIT_COMMON_FILEAPI_FILE_SYSTEM_INFO_H_
|