[email protected] | 5a77eca | 2011-11-23 23:46:46 | [diff] [blame] | 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. |
| 4 | |
| 5 | #ifndef PPAPI_SHARED_IMPL_PLATFORM_FILE_H_ |
| 6 | #define PPAPI_SHARED_IMPL_PLATFORM_FILE_H_ |
| 7 | |
| 8 | #include "base/platform_file.h" |
| 9 | #include "ppapi/c/pp_stdint.h" |
| 10 | #include "ppapi/shared_impl/ppapi_shared_export.h" |
| 11 | |
| 12 | namespace ppapi { |
| 13 | |
| 14 | PPAPI_SHARED_EXPORT base::PlatformFile IntToPlatformFile(int32_t handle); |
| 15 | PPAPI_SHARED_EXPORT int32_t PlatformFileToInt(base::PlatformFile handle); |
| 16 | |
| 17 | } // namespace ppapi |
| 18 | |
| 19 | #endif // PPAPI_SHARED_IMPL_PLATFORM_FILE_H_ |