| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright (c) 2011 The Native Client Authors. All rights reserved. | 2 * Copyright (c) 2011 The Chromium Authors. All rights reserved. |
| 3 * Use of this source code is governed by a BSD-style license that can be | 3 * Use of this source code is governed by a BSD-style license that can be |
| 4 * found in the LICENSE file. | 4 * found in the LICENSE file. |
| 5 */ | 5 */ |
| 6 | 6 |
| 7 #include <stdio.h> | 7 #include <stdio.h> |
| 8 #include <string.h> | 8 #include <string.h> |
| 9 | 9 |
| 10 #include "native_client/src/include/portability.h" | 10 #include "native_client/src/include/portability.h" |
| 11 #include "native_client/src/shared/platform/nacl_check.h" | 11 #include "native_client/src/shared/platform/nacl_check.h" |
| 12 #include "ppapi/c/pp_completion_callback.h" | 12 #include "ppapi/c/pp_completion_callback.h" |
| (...skipping 130 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 143 return &instance_interface; | 143 return &instance_interface; |
| 144 } else if (0 == strncmp(PPP_MESSAGING_INTERFACE, interface_name, | 144 } else if (0 == strncmp(PPP_MESSAGING_INTERFACE, interface_name, |
| 145 strlen(PPP_MESSAGING_INTERFACE))) { | 145 strlen(PPP_MESSAGING_INTERFACE))) { |
| 146 static struct PPP_Messaging messaging_interface = { | 146 static struct PPP_Messaging messaging_interface = { |
| 147 HandleMessage | 147 HandleMessage |
| 148 }; | 148 }; |
| 149 return &messaging_interface; | 149 return &messaging_interface; |
| 150 } | 150 } |
| 151 return NULL; | 151 return NULL; |
| 152 } | 152 } |
| OLD | NEW |