| 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 | 5 |
| 6 #include "nacl_io_demo.h" | 6 #include "nacl_io_demo.h" |
| 7 | 7 |
| 8 #include <assert.h> | 8 #include <assert.h> |
| 9 #include <stdio.h> | 9 #include <stdio.h> |
| 10 #include <stdlib.h> | 10 #include <stdlib.h> |
| 11 #include <string.h> | 11 #include <string.h> |
| 12 #include <sys/mount.h> |
| 12 #include <pthread.h> | 13 #include <pthread.h> |
| 13 | 14 |
| 14 #include "ppapi/c/pp_errors.h" | 15 #include "ppapi/c/pp_errors.h" |
| 15 #include "ppapi/c/pp_module.h" | 16 #include "ppapi/c/pp_module.h" |
| 16 #include "ppapi/c/ppb.h" | 17 #include "ppapi/c/ppb.h" |
| 17 #include "ppapi/c/ppb_instance.h" | 18 #include "ppapi/c/ppb_instance.h" |
| 18 #include "ppapi/c/ppb_messaging.h" | 19 #include "ppapi/c/ppb_messaging.h" |
| 19 #include "ppapi/c/ppb_var.h" | 20 #include "ppapi/c/ppb_var.h" |
| 20 #include "ppapi/c/ppp.h" | 21 #include "ppapi/c/ppp.h" |
| 21 #include "ppapi/c/ppp_instance.h" | 22 #include "ppapi/c/ppp_instance.h" |
| (...skipping 334 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 356 } else if (strcmp(interface_name, PPP_MESSAGING_INTERFACE) == 0) { | 357 } else if (strcmp(interface_name, PPP_MESSAGING_INTERFACE) == 0) { |
| 357 static PPP_Messaging messaging_interface = { | 358 static PPP_Messaging messaging_interface = { |
| 358 &Messaging_HandleMessage, | 359 &Messaging_HandleMessage, |
| 359 }; | 360 }; |
| 360 return &messaging_interface; | 361 return &messaging_interface; |
| 361 } | 362 } |
| 362 return NULL; | 363 return NULL; |
| 363 } | 364 } |
| 364 | 365 |
| 365 PP_EXPORT void PPP_ShutdownModule() {} | 366 PP_EXPORT void PPP_ShutdownModule() {} |
| OLD | NEW |