OLD | NEW |
1 /* | 1 /* |
2 * Copyright 2008 The Native Client Authors. All rights reserved. | 2 * Copyright 2008 The Native Client Authors. All rights reserved. |
3 * Use of this source code is governed by a BSD-style license that can | 3 * Use of this source code is governed by a BSD-style license that can |
4 * be found in the LICENSE file. | 4 * be found in the LICENSE file. |
5 */ | 5 */ |
6 | 6 |
7 // The socket class used for the av library to talk to the plugin. | 7 // The socket class used for the av library to talk to the plugin. |
8 | 8 |
9 #ifndef NATIVE_CLIENT_SRC_TRUSTED_PLUGIN_NPAPI_MULTIMEDIA_SOCKET_H_ | 9 #ifndef NATIVE_CLIENT_SRC_TRUSTED_PLUGIN_NPAPI_MULTIMEDIA_SOCKET_H_ |
10 #define NATIVE_CLIENT_SRC_TRUSTED_PLUGIN_NPAPI_MULTIMEDIA_SOCKET_H_ | 10 #define NATIVE_CLIENT_SRC_TRUSTED_PLUGIN_NPAPI_MULTIMEDIA_SOCKET_H_ |
11 | 11 |
12 #include "native_client/src/include/nacl_macros.h" | 12 #include "native_client/src/include/nacl_macros.h" |
13 #include "native_client/src/shared/platform/nacl_sync_checked.h" | 13 #include "native_client/src/shared/platform/nacl_sync_checked.h" |
14 #include "native_client/src/trusted/plugin/srpc/scriptable_handle.h" | 14 #include "native_client/src/trusted/plugin/scriptable_handle.h" |
15 | 15 |
16 namespace plugin { | 16 namespace plugin { |
17 | 17 |
18 class BrowserInterface; | 18 class BrowserInterface; |
19 class Plugin; | 19 class Plugin; |
20 class ServiceRuntime; | 20 class ServiceRuntime; |
21 | 21 |
22 class MultimediaSocket { | 22 class MultimediaSocket { |
23 public: | 23 public: |
24 MultimediaSocket(BrowserInterface* browser_interface, | 24 MultimediaSocket(BrowserInterface* browser_interface, |
(...skipping 23 matching lines...) Expand all Loading... |
48 UPCALL_THREAD_EXITED | 48 UPCALL_THREAD_EXITED |
49 } upcall_thread_state_; | 49 } upcall_thread_state_; |
50 | 50 |
51 bool upcall_thread_should_exit_; | 51 bool upcall_thread_should_exit_; |
52 uint32_t upcall_thread_id_; | 52 uint32_t upcall_thread_id_; |
53 }; | 53 }; |
54 | 54 |
55 } // namespace plugin | 55 } // namespace plugin |
56 | 56 |
57 #endif // NATIVE_CLIENT_SRC_TRUSTED_PLUGIN_NPAPI_MULTIMEDIA_SOCKET_H_ | 57 #endif // NATIVE_CLIENT_SRC_TRUSTED_PLUGIN_NPAPI_MULTIMEDIA_SOCKET_H_ |
OLD | NEW |