components: Fix 'gn check' errors for user_prefs.
[chromium-blink-merge.git] / ppapi / shared_impl / file_system_util.h
blobbb7e8c701eea0b5ab91dc298fe291b8aadc39a2b
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 PPAPI_SHARED_IMPL_FILE_SYSTEM_UTIL_H_
6 #define PPAPI_SHARED_IMPL_FILE_SYSTEM_UTIL_H_
8 #include <string>
10 #include "ppapi/c/pp_file_info.h"
11 #include "ppapi/c/private/ppb_isolated_file_system_private.h"
12 #include "ppapi/shared_impl/ppapi_shared_export.h"
14 namespace ppapi {
16 PPAPI_SHARED_EXPORT bool FileSystemTypeIsValid(PP_FileSystemType type);
18 PPAPI_SHARED_EXPORT bool FileSystemTypeHasQuota(PP_FileSystemType type);
20 PPAPI_SHARED_EXPORT std::string IsolatedFileSystemTypeToRootName(
21 PP_IsolatedFileSystemType_Private type);
23 } // namespace ppapi
25 #endif // PPAPI_SHARED_IMPL_FILE_SYSTEM_UTIL_H_