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 | 7 |
8 // The abstract portable scriptable object base class. | 8 // The abstract portable scriptable object base class. |
9 | 9 |
10 #ifndef NATIVE_CLIENT_SRC_TRUSTED_PLUGIN_SRPC_PORTABLE_HANDLE_H_ | 10 #ifndef NATIVE_CLIENT_SRC_TRUSTED_PLUGIN_PORTABLE_HANDLE_H_ |
11 #define NATIVE_CLIENT_SRC_TRUSTED_PLUGIN_SRPC_PORTABLE_HANDLE_H_ | 11 #define NATIVE_CLIENT_SRC_TRUSTED_PLUGIN_PORTABLE_HANDLE_H_ |
12 | 12 |
13 #include <stdio.h> | 13 #include <stdio.h> |
14 #include <map> | 14 #include <map> |
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/trusted/plugin/srpc/method_map.h" | 17 #include "native_client/src/trusted/plugin/method_map.h" |
18 #include "native_client/src/trusted/plugin/srpc/utility.h" | 18 #include "native_client/src/trusted/plugin/utility.h" |
19 | 19 |
20 | 20 |
21 struct NaClDesc; | 21 struct NaClDesc; |
22 | 22 |
23 namespace nacl { | 23 namespace nacl { |
24 class DescWrapper; | 24 class DescWrapper; |
25 } // namespace | 25 } // namespace |
26 | 26 |
27 namespace plugin { | 27 namespace plugin { |
28 | 28 |
(...skipping 87 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
116 private: | 116 private: |
117 NACL_DISALLOW_COPY_AND_ASSIGN(PortableHandle); | 117 NACL_DISALLOW_COPY_AND_ASSIGN(PortableHandle); |
118 MethodInfo* GetMethodInfo(uintptr_t method_id, CallType call_type); | 118 MethodInfo* GetMethodInfo(uintptr_t method_id, CallType call_type); |
119 MethodMap methods_; | 119 MethodMap methods_; |
120 MethodMap property_get_methods_; | 120 MethodMap property_get_methods_; |
121 MethodMap property_set_methods_; | 121 MethodMap property_set_methods_; |
122 }; | 122 }; |
123 | 123 |
124 } // namespace plugin | 124 } // namespace plugin |
125 | 125 |
126 #endif // NATIVE_CLIENT_SRC_TRUSTED_PLUGIN_SRPC_PORTABLE_HANDLE_H_ | 126 #endif // NATIVE_CLIENT_SRC_TRUSTED_PLUGIN_PORTABLE_HANDLE_H_ |
OLD | NEW |