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

Side by Side Diff: native_client_sdk/src/libraries/ppapi_simple/ps.h

Issue 16325024: Move thread_pool.h into utils so it can be shared by more than one example. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Created 7 years, 6 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
Property Changes:
Added: svn:eol-style
+ LF
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 #ifndef PPAPI_SIMPLE_PS_H_ 5 #ifndef PPAPI_SIMPLE_PS_H_
6 #define PPAPI_SIMPLE_PS_H_ 6 #define PPAPI_SIMPLE_PS_H_
7 7
8 #include "ppapi/c/pp_instance.h" 8 #include "ppapi/c/pp_instance.h"
9 #include "utils/macros.h" 9 #include "sdk_util/macros.h"
10 10
11 EXTERN_C_BEGIN 11 EXTERN_C_BEGIN
12 12
13 /** 13 /**
14 * The ppapi_simple library simplifies the use of the Pepper interfaces by 14 * The ppapi_simple library simplifies the use of the Pepper interfaces by
15 * providing a more traditional 'C' or 'C++' style framework. The library 15 * providing a more traditional 'C' or 'C++' style framework. The library
16 * creates an PSInstance derived object based on the ppapi_cpp library and 16 * creates an PSInstance derived object based on the ppapi_cpp library and
17 * initializes the nacl_io library to provide a POSIX friendly I/O environment. 17 * initializes the nacl_io library to provide a POSIX friendly I/O environment.
18 * 18 *
19 * In order to provide a standard blocking environment, the library will hide 19 * In order to provide a standard blocking environment, the library will hide
(...skipping 84 matching lines...) Expand 10 before | Expand all | Expand 10 after
104 void* PSUserCreateInstance(PP_Instance inst) { \ 104 void* PSUserCreateInstance(PP_Instance inst) { \
105 PPAPI_SIMPLE_DECLARE_PARAMS(params, ##__VA_ARGS__, NULL, NULL) \ 105 PPAPI_SIMPLE_DECLARE_PARAMS(params, ##__VA_ARGS__, NULL, NULL) \
106 return (void *) new classname(inst, params); \ 106 return (void *) new classname(inst, params); \
107 } 107 }
108 108
109 EXTERN_C_END 109 EXTERN_C_END
110 110
111 111
112 #endif // PPAPI_SIMPLE_PPAPI_SIMPLE_H 112 #endif // PPAPI_SIMPLE_PPAPI_SIMPLE_H
113 113
OLDNEW
« no previous file with comments | « native_client_sdk/src/libraries/nacl_io/pepper_interface.h ('k') | native_client_sdk/src/libraries/ppapi_simple/ps_event.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698