blob: 5b39f6975780fcd33bfafd0086a024dc8df7090e (
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
|
// 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 PPAPI_SHARED_IMPL_FILE_SYSTEM_UTIL_H_
#define PPAPI_SHARED_IMPL_FILE_SYSTEM_UTIL_H_
#include <string>
#include "ppapi/c/pp_file_info.h"
#include "ppapi/c/private/ppb_isolated_file_system_private.h"
#include "ppapi/shared_impl/ppapi_shared_export.h"
#include "webkit/common/fileapi/file_system_types.h"
namespace ppapi {
PPAPI_SHARED_EXPORT
fileapi::FileSystemType PepperFileSystemTypeToFileSystemType(
PP_FileSystemType type);
PPAPI_SHARED_EXPORT bool FileSystemTypeIsValid(PP_FileSystemType type);
PPAPI_SHARED_EXPORT bool FileSystemTypeHasQuota(PP_FileSystemType type);
PPAPI_SHARED_EXPORT std::string IsolatedFileSystemTypeToRootName(
PP_IsolatedFileSystemType_Private type);
} // namespace ppapi
#endif // PPAPI_SHARED_IMPL_FILE_SYSTEM_UTIL_H_
|