| OLD | NEW |
| 1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. | 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 | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 #ifndef PPAPI_SHARED_IMPL_PLATFORM_FILE_H_ | 5 #ifndef PPAPI_SHARED_IMPL_PLATFORM_FILE_H_ |
| 6 #define PPAPI_SHARED_IMPL_PLATFORM_FILE_H_ | 6 #define PPAPI_SHARED_IMPL_PLATFORM_FILE_H_ |
| 7 | 7 |
| 8 #include "base/platform_file.h" | 8 #include "base/files/file.h" |
| 9 #include "ppapi/c/pp_stdint.h" | 9 #include "ppapi/c/pp_stdint.h" |
| 10 #include "ppapi/shared_impl/ppapi_shared_export.h" | 10 #include "ppapi/shared_impl/ppapi_shared_export.h" |
| 11 | 11 |
| 12 namespace ppapi { | 12 namespace ppapi { |
| 13 | 13 |
| 14 PPAPI_SHARED_EXPORT base::PlatformFile IntToPlatformFile(int32_t handle); | 14 PPAPI_SHARED_EXPORT base::PlatformFile IntToPlatformFile(int32_t handle); |
| 15 PPAPI_SHARED_EXPORT int32_t PlatformFileToInt(base::PlatformFile handle); | 15 PPAPI_SHARED_EXPORT int32_t PlatformFileToInt(base::PlatformFile handle); |
| 16 | 16 |
| 17 } // namespace ppapi | 17 } // namespace ppapi |
| 18 | 18 |
| 19 #endif // PPAPI_SHARED_IMPL_PLATFORM_FILE_H_ | 19 #endif // PPAPI_SHARED_IMPL_PLATFORM_FILE_H_ |
| OLD | NEW |