| OLD | NEW |
| 1 // Copyright (c) 2011 The Native Client 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 "native_client/src/shared/ppapi_proxy/browser_ppp.h" | 5 #include "native_client/src/shared/ppapi_proxy/browser_ppp.h" |
| 6 | 6 |
| 7 #include <string.h> | 7 #include <string.h> |
| 8 | 8 |
| 9 #include "native_client/src/include/nacl_scoped_ptr.h" | 9 #include "native_client/src/include/nacl_scoped_ptr.h" |
| 10 #include "native_client/src/include/portability.h" | 10 #include "native_client/src/include/portability.h" |
| 11 #include "native_client/src/include/portability_process.h" | 11 #include "native_client/src/include/portability_process.h" |
| (...skipping 178 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 190 | 190 |
| 191 const void* BrowserPpp::GetPluginInterfaceSafe(const char* interface_name) { | 191 const void* BrowserPpp::GetPluginInterfaceSafe(const char* interface_name) { |
| 192 const void* ppp_interface = GetPluginInterface(interface_name); | 192 const void* ppp_interface = GetPluginInterface(interface_name); |
| 193 if (ppp_interface == NULL) | 193 if (ppp_interface == NULL) |
| 194 DebugPrintf("PPB_GetInterface: %s not found\n", interface_name); | 194 DebugPrintf("PPB_GetInterface: %s not found\n", interface_name); |
| 195 CHECK(ppp_interface != NULL); | 195 CHECK(ppp_interface != NULL); |
| 196 return ppp_interface; | 196 return ppp_interface; |
| 197 } | 197 } |
| 198 | 198 |
| 199 } // namespace ppapi_proxy | 199 } // namespace ppapi_proxy |
| OLD | NEW |