| 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 */ | 4 */ |
| 5 #include <stdint.h> |
| 5 #include <stdlib.h> | 6 #include <stdlib.h> |
| 6 #include <string.h> | 7 #include <string.h> |
| 7 | 8 |
| 8 #include "ppapi/c/pp_completion_callback.h" | 9 #include "ppapi/c/pp_completion_callback.h" |
| 9 #include "ppapi/c/pp_errors.h" | 10 #include "ppapi/c/pp_errors.h" |
| 10 #include "ppapi/c/pp_instance.h" | 11 #include "ppapi/c/pp_instance.h" |
| 11 #include "ppapi/c/pp_module.h" | 12 #include "ppapi/c/pp_module.h" |
| 12 #include "ppapi/c/pp_rect.h" | 13 #include "ppapi/c/pp_rect.h" |
| 13 #include "ppapi/c/pp_var.h" | 14 #include "ppapi/c/pp_var.h" |
| 14 #include "ppapi/c/ppb.h" | 15 #include "ppapi/c/ppb.h" |
| (...skipping 190 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 205 } | 206 } |
| 206 | 207 |
| 207 PP_EXPORT void PPP_ShutdownModule() { | 208 PP_EXPORT void PPP_ShutdownModule() { |
| 208 } | 209 } |
| 209 | 210 |
| 210 PP_EXPORT const void* PPP_GetInterface(const char* interface_name) { | 211 PP_EXPORT const void* PPP_GetInterface(const char* interface_name) { |
| 211 if (strcmp(interface_name, PPP_INSTANCE_INTERFACE) == 0) | 212 if (strcmp(interface_name, PPP_INSTANCE_INTERFACE) == 0) |
| 212 return &instance_interface; | 213 return &instance_interface; |
| 213 return NULL; | 214 return NULL; |
| 214 } | 215 } |
| OLD | NEW |