
This function is called only from within content to convert from a ppapi enum type to webkit fileapi type (this one will be come a content enum type in later change). So anticipating that change from webkit/ to content/ we moved this function from ppapi to content to make this future change a little bit easier. And it is also nice to do now because it removes the last include of webkit/ from ppapi making it much more clearer in term of deps. BUG=338338 TEST=blink_tests R=dmichael@chromium.org,jam@chromium.org Review URL: https://codereview.chromium.org/424213006 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@286776 0039d316-1c4b-4281-b951-d872f2087c98
26 lines
776 B
C++
26 lines
776 B
C++
// 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"
|
|
|
|
namespace ppapi {
|
|
|
|
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_
|