OLD | NEW |
1 // Copyright (c) 2013 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2013 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_INSTANCE_H_ | 5 #ifndef PPAPI_SIMPLE_PS_INSTANCE_H_ |
6 #define PPAPI_SIMPLE_PS_INSTANCE_H_ | 6 #define PPAPI_SIMPLE_PS_INSTANCE_H_ |
7 | 7 |
8 #include <stdarg.h> | 8 #include <stdarg.h> |
9 | 9 |
10 #include "ppapi/c/pp_instance.h" | 10 #include "ppapi/c/pp_instance.h" |
(...skipping 196 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
207 // Condition variable and lock used to wait for exit confirmation from | 207 // Condition variable and lock used to wait for exit confirmation from |
208 // JavaScript. | 208 // JavaScript. |
209 pthread_cond_t exit_cond_; | 209 pthread_cond_t exit_cond_; |
210 pthread_mutex_t exit_lock_; | 210 pthread_mutex_t exit_lock_; |
211 | 211 |
212 // A message to Post to JavaScript instead of exiting, or NULL if exit() | 212 // A message to Post to JavaScript instead of exiting, or NULL if exit() |
213 // should be called instead. | 213 // should be called instead. |
214 char* exit_message_; | 214 char* exit_message_; |
215 }; | 215 }; |
216 | 216 |
217 #endif // PPAPI_MAIN_PS_INSTANCE_H_ | 217 #endif // PPAPI_SIMPLE_PS_INSTANCE_H_ |
OLD | NEW |