| OLD | NEW |
| 1 /* Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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 */ | |
| 5 | 4 |
| 6 #include "nacl_io/real_pepper_interface.h" | 5 #include "nacl_io/real_pepper_interface.h" |
| 7 #include <assert.h> | 6 #include <assert.h> |
| 8 #include <stdio.h> | 7 #include <stdio.h> |
| 9 | 8 |
| 10 #include <ppapi/c/pp_errors.h> | 9 #include <ppapi/c/pp_errors.h> |
| 11 | 10 |
| 12 | 11 |
| 13 #include "nacl_io/pepper/undef_macros.h" | 12 #include "nacl_io/pepper/undef_macros.h" |
| 14 #define BEGIN_INTERFACE(BaseClass, PPInterface, InterfaceString) \ | 13 #define BEGIN_INTERFACE(BaseClass, PPInterface, InterfaceString) \ |
| (...skipping 115 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 130 if (!message_loop) { | 129 if (!message_loop) { |
| 131 message_loop = message_loop_interface_->Create(instance_); | 130 message_loop = message_loop_interface_->Create(instance_); |
| 132 result = message_loop_interface_->AttachToCurrentThread(message_loop); | 131 result = message_loop_interface_->AttachToCurrentThread(message_loop); |
| 133 assert(result == PP_OK); | 132 assert(result == PP_OK); |
| 134 } | 133 } |
| 135 } | 134 } |
| 136 | 135 |
| 137 return PP_OK; | 136 return PP_OK; |
| 138 } | 137 } |
| 139 | 138 |
| OLD | NEW |