Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(363)

Side by Side Diff: native_client_sdk/src/examples/demo/nacl_io/nacl_io_demo.c

Issue 14607005: [NaCl SDK] Cleanup examples. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: feedback Created 7 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
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 "hello_nacl_io.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 <pthread.h> 12 #include <pthread.h>
13 13
14 #include "ppapi/c/pp_errors.h" 14 #include "ppapi/c/pp_errors.h"
15 #include "ppapi/c/pp_module.h" 15 #include "ppapi/c/pp_module.h"
16 #include "ppapi/c/ppb.h" 16 #include "ppapi/c/ppb.h"
(...skipping 332 matching lines...) Expand 10 before | Expand all | Expand 10 after
349 } else if (strcmp(interface_name, PPP_MESSAGING_INTERFACE) == 0) { 349 } else if (strcmp(interface_name, PPP_MESSAGING_INTERFACE) == 0) {
350 static PPP_Messaging messaging_interface = { 350 static PPP_Messaging messaging_interface = {
351 &Messaging_HandleMessage, 351 &Messaging_HandleMessage,
352 }; 352 };
353 return &messaging_interface; 353 return &messaging_interface;
354 } 354 }
355 return NULL; 355 return NULL;
356 } 356 }
357 357
358 PP_EXPORT void PPP_ShutdownModule() {} 358 PP_EXPORT void PPP_ShutdownModule() {}
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698