| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright (c) 2011 The Native Client Authors. All rights reserved. | 2 * Copyright (c) 2011 The Native Client Authors. All rights reserved. |
| 3 * Use of this source code is governed by a BSD-style license that can be | 3 * Use of this source code is governed by a BSD-style license that can be |
| 4 * found in the LICENSE file. | 4 * found in the LICENSE file. |
| 5 */ | 5 */ |
| 6 | 6 |
| 7 #ifndef NATIVE_CLIENT_SRC_TRUSTED_REVERSE_SERVICE_REVERSE_SERVICE_H_ | 7 #ifndef NATIVE_CLIENT_SRC_TRUSTED_REVERSE_SERVICE_REVERSE_SERVICE_H_ |
| 8 #define NATIVE_CLIENT_SRC_TRUSTED_REVERSE_SERVICE_REVERSE_SERVICE_H_ | 8 #define NATIVE_CLIENT_SRC_TRUSTED_REVERSE_SERVICE_REVERSE_SERVICE_H_ |
| 9 | 9 |
| 10 #include "native_client/src/include/nacl_compiler_annotations.h" | 10 #include "native_client/src/include/nacl_compiler_annotations.h" |
| 11 #include "native_client/src/include/nacl_macros.h" | 11 #include "native_client/src/include/nacl_macros.h" |
| 12 #include "native_client/src/include/nacl_scoped_ptr.h" | 12 #include "native_client/src/include/nacl_scoped_ptr.h" |
| 13 #include "native_client/src/include/nacl_string.h" | 13 #include "native_client/src/include/nacl_string.h" |
| 14 #include "native_client/src/trusted/reverse_service/manifest_rpc.h" |
| 14 #include "native_client/src/trusted/reverse_service/reverse_socket.h" | 15 #include "native_client/src/trusted/reverse_service/reverse_socket.h" |
| 16 #include "native_client/src/trusted/service_runtime/include/sys/nacl_name_servic
e.h" |
| 15 #include "native_client/src/shared/platform/refcount_base.h" | 17 #include "native_client/src/shared/platform/refcount_base.h" |
| 16 #include "native_client/src/shared/platform/nacl_sync.h" | 18 #include "native_client/src/shared/platform/nacl_sync.h" |
| 17 | 19 |
| 18 namespace nacl { | 20 namespace nacl { |
| 19 | 21 |
| 20 class DescWrapper; | 22 class DescWrapper; |
| 21 | 23 |
| 22 class ReverseInterface : public RefCountBase { | 24 class ReverseInterface : public RefCountBase { |
| 23 public: | 25 public: |
| 24 virtual void Log(nacl::string message) = 0; | 26 virtual void Log(nacl::string message) = 0; |
| (...skipping 38 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 63 static NaClSrpcHandlerDesc const handlers[]; | 65 static NaClSrpcHandlerDesc const handlers[]; |
| 64 | 66 |
| 65 NaClMutex mu_; | 67 NaClMutex mu_; |
| 66 NaClCondVar cv_; | 68 NaClCondVar cv_; |
| 67 uint32_t thread_count_; | 69 uint32_t thread_count_; |
| 68 }; | 70 }; |
| 69 | 71 |
| 70 } // namespace nacl | 72 } // namespace nacl |
| 71 | 73 |
| 72 #endif | 74 #endif |
| OLD | NEW |