| 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 portable representation of an instance and root scriptable object. | 7 // The portable representation of an instance and root scriptable object. |
| 8 // The ActiveX, NPAPI, and Pepper versions of the plugin instantiate | 8 // The ActiveX, NPAPI, and Pepper versions of the plugin instantiate |
| 9 // subclasses of this class. | 9 // subclasses of this class. |
| 10 | 10 |
| 11 #ifndef NATIVE_CLIENT_SRC_TRUSTED_PLUGIN_SRPC_PLUGIN_H_ | 11 #ifndef NATIVE_CLIENT_SRC_TRUSTED_PLUGIN_PLUGIN_H_ |
| 12 #define NATIVE_CLIENT_SRC_TRUSTED_PLUGIN_SRPC_PLUGIN_H_ | 12 #define NATIVE_CLIENT_SRC_TRUSTED_PLUGIN_PLUGIN_H_ |
| 13 | 13 |
| 14 #include <stdio.h> | 14 #include <stdio.h> |
| 15 | 15 |
| 16 #include "native_client/src/include/nacl_macros.h" | 16 #include "native_client/src/include/nacl_macros.h" |
| 17 #include "native_client/src/include/nacl_string.h" | 17 #include "native_client/src/include/nacl_string.h" |
| 18 #include "native_client/src/trusted/plugin/api_defines.h" | 18 #include "native_client/src/trusted/plugin/api_defines.h" |
| 19 #include "native_client/src/trusted/plugin/srpc/service_runtime.h" | 19 #include "native_client/src/trusted/plugin/service_runtime.h" |
| 20 #include "native_client/src/trusted/plugin/srpc/portable_handle.h" | 20 #include "native_client/src/trusted/plugin/portable_handle.h" |
| 21 #include "native_client/src/trusted/plugin/srpc/utility.h" | 21 #include "native_client/src/trusted/plugin/utility.h" |
| 22 | 22 |
| 23 namespace nacl { | 23 namespace nacl { |
| 24 class DescWrapperFactory; | 24 class DescWrapperFactory; |
| 25 } // namespace nacl | 25 } // namespace nacl |
| 26 | 26 |
| 27 namespace plugin { | 27 namespace plugin { |
| 28 | 28 |
| 29 class StreamShmBuffer; | 29 class StreamShmBuffer; |
| 30 class ScriptableHandle; | 30 class ScriptableHandle; |
| 31 | 31 |
| (...skipping 171 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 203 public: | 203 public: |
| 204 VideoScopedGlobalLock() { VideoGlobalLock(); } | 204 VideoScopedGlobalLock() { VideoGlobalLock(); } |
| 205 ~VideoScopedGlobalLock() { VideoGlobalUnlock(); } | 205 ~VideoScopedGlobalLock() { VideoGlobalUnlock(); } |
| 206 | 206 |
| 207 private: | 207 private: |
| 208 NACL_DISALLOW_COPY_AND_ASSIGN(VideoScopedGlobalLock); | 208 NACL_DISALLOW_COPY_AND_ASSIGN(VideoScopedGlobalLock); |
| 209 }; | 209 }; |
| 210 | 210 |
| 211 } // namespace plugin | 211 } // namespace plugin |
| 212 | 212 |
| 213 #endif // NATIVE_CLIENT_SRC_TRUSTED_PLUGIN_SRPC_PLUGIN_H_ | 213 #endif // NATIVE_CLIENT_SRC_TRUSTED_PLUGIN_PLUGIN_H_ |
| OLD | NEW |