| 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 #include "ppapi/c/pp_completion_callback.h" | 5 #include "ppapi/c/pp_completion_callback.h" |
| 6 #include "ppapi/c/pp_errors.h" | 6 #include "ppapi/c/pp_errors.h" |
| 7 #include "ppapi/c/trusted/ppb_file_io_trusted.h" | 7 #include "ppapi/c/trusted/ppb_file_io_trusted.h" |
| 8 #include "ppapi/thunk/common.h" | 8 #include "ppapi/thunk/common.h" |
| 9 #include "ppapi/thunk/enter.h" | 9 #include "ppapi/thunk/enter.h" |
| 10 #include "ppapi/thunk/thunk.h" | 10 #include "ppapi/thunk/thunk.h" |
| (...skipping 34 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 45 } | 45 } |
| 46 | 46 |
| 47 const PPB_FileIOTrusted g_ppb_file_io_trusted_thunk = { | 47 const PPB_FileIOTrusted g_ppb_file_io_trusted_thunk = { |
| 48 &GetOSFileDescriptor, | 48 &GetOSFileDescriptor, |
| 49 &WillWrite, | 49 &WillWrite, |
| 50 &WillSetLength | 50 &WillSetLength |
| 51 }; | 51 }; |
| 52 | 52 |
| 53 } // namespace | 53 } // namespace |
| 54 | 54 |
| 55 const PPB_FileIOTrusted* GetPPB_FileIOTrusted_Thunk() { | 55 const PPB_FileIOTrusted_0_4* GetPPB_FileIOTrusted_0_4_Thunk() { |
| 56 return &g_ppb_file_io_trusted_thunk; | 56 return &g_ppb_file_io_trusted_thunk; |
| 57 } | 57 } |
| 58 | 58 |
| 59 } // namespace thunk | 59 } // namespace thunk |
| 60 } // namespace ppapi | 60 } // namespace ppapi |
| OLD | NEW |