| 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 // Portable representation of scriptable NaClDesc. | 7 // Portable representation of scriptable NaClDesc. |
| 8 | 8 |
| 9 #ifndef NATIVE_CLIENT_SRC_TRUSTED_PLUGIN_SRPC_DESC_BASED_HANDLE_H_ | 9 #ifndef NATIVE_CLIENT_SRC_TRUSTED_PLUGIN_DESC_BASED_HANDLE_H_ |
| 10 #define NATIVE_CLIENT_SRC_TRUSTED_PLUGIN_SRPC_DESC_BASED_HANDLE_H_ | 10 #define NATIVE_CLIENT_SRC_TRUSTED_PLUGIN_DESC_BASED_HANDLE_H_ |
| 11 | 11 |
| 12 #include <stdio.h> | 12 #include <stdio.h> |
| 13 #include <map> | 13 #include <map> |
| 14 | 14 |
| 15 #include "native_client/src/include/nacl_macros.h" | 15 #include "native_client/src/include/nacl_macros.h" |
| 16 #include "native_client/src/trusted/desc/nacl_desc_wrapper.h" | 16 #include "native_client/src/trusted/desc/nacl_desc_wrapper.h" |
| 17 #include "native_client/src/trusted/plugin/srpc/portable_handle.h" | 17 #include "native_client/src/trusted/plugin/portable_handle.h" |
| 18 #include "native_client/src/trusted/plugin/srpc/utility.h" | 18 #include "native_client/src/trusted/plugin/utility.h" |
| 19 | 19 |
| 20 struct NaClDesc; | 20 struct NaClDesc; |
| 21 | 21 |
| 22 namespace nacl { | 22 namespace nacl { |
| 23 class DescWrapper; | 23 class DescWrapper; |
| 24 } // namespace nacl | 24 } // namespace nacl |
| 25 | 25 |
| 26 namespace plugin { | 26 namespace plugin { |
| 27 | 27 |
| 28 class Plugin; | 28 class Plugin; |
| (...skipping 23 matching lines...) Expand all Loading... |
| 52 | 52 |
| 53 private: | 53 private: |
| 54 NACL_DISALLOW_COPY_AND_ASSIGN(DescBasedHandle); | 54 NACL_DISALLOW_COPY_AND_ASSIGN(DescBasedHandle); |
| 55 void LoadMethods(); | 55 void LoadMethods(); |
| 56 Plugin* plugin_; | 56 Plugin* plugin_; |
| 57 nacl::DescWrapper* wrapper_; | 57 nacl::DescWrapper* wrapper_; |
| 58 }; | 58 }; |
| 59 | 59 |
| 60 } // namespace plugin | 60 } // namespace plugin |
| 61 | 61 |
| 62 #endif // NATIVE_CLIENT_SRC_TRUSTED_PLUGIN_SRPC_DESC_BASED_HANDLE_H_ | 62 #endif // NATIVE_CLIENT_SRC_TRUSTED_PLUGIN_DESC_BASED_HANDLE_H_ |
| OLD | NEW |