Allow script to request durable storage permission (chrome side)
[chromium-blink-merge.git] / ppapi / shared_impl / platform_file.h
blob05462c4a91ebafcecfc18520746a31de0d7b0382
1 // Copyright (c) 2011 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_PLATFORM_FILE_H_
6 #define PPAPI_SHARED_IMPL_PLATFORM_FILE_H_
8 #include "base/files/file.h"
9 #include "ppapi/c/pp_stdint.h"
10 #include "ppapi/shared_impl/ppapi_shared_export.h"
12 namespace ppapi {
14 PPAPI_SHARED_EXPORT base::PlatformFile IntToPlatformFile(int32_t handle);
15 PPAPI_SHARED_EXPORT int32_t PlatformFileToInt(base::PlatformFile handle);
17 } // namespace ppapi
19 #endif // PPAPI_SHARED_IMPL_PLATFORM_FILE_H_