| 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/dev/ppb_console_dev.h" | 5 #include "ppapi/c/dev/ppb_console_dev.h" |
| 6 #include "ppapi/thunk/thunk.h" | 6 #include "ppapi/thunk/thunk.h" |
| 7 #include "ppapi/thunk/enter.h" | 7 #include "ppapi/thunk/enter.h" |
| 8 #include "ppapi/thunk/ppb_instance_api.h" | 8 #include "ppapi/thunk/ppb_instance_api.h" |
| 9 | 9 |
| 10 namespace ppapi { | 10 namespace ppapi { |
| (...skipping 16 matching lines...) Expand all Loading... |
| 27 return enter.functions()->LogWithSource(instance, level, source, value); | 27 return enter.functions()->LogWithSource(instance, level, source, value); |
| 28 } | 28 } |
| 29 | 29 |
| 30 const PPB_Console_Dev g_ppb_console_thunk = { | 30 const PPB_Console_Dev g_ppb_console_thunk = { |
| 31 &Log, | 31 &Log, |
| 32 &LogWithSource | 32 &LogWithSource |
| 33 }; | 33 }; |
| 34 | 34 |
| 35 } // namespace | 35 } // namespace |
| 36 | 36 |
| 37 const PPB_Console_Dev* GetPPB_Console_Dev_Thunk() { | 37 const PPB_Console_Dev_0_1* GetPPB_Console_Dev_0_1_Thunk() { |
| 38 return &g_ppb_console_thunk; | 38 return &g_ppb_console_thunk; |
| 39 } | 39 } |
| 40 | 40 |
| 41 } // namespace thunk | 41 } // namespace thunk |
| 42 } // namespace ppapi | 42 } // namespace ppapi |
| OLD | NEW |