| 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 // Portable interface for browser interaction | 8 // Portable interface for browser interaction |
| 9 | 9 |
| 10 #ifndef NATIVE_CLIENT_SRC_TRUSTED_PLUGIN_SRPC_BROWSER_INTERFACE_H_ | 10 #ifndef NATIVE_CLIENT_SRC_TRUSTED_PLUGIN_BROWSER_INTERFACE_H_ |
| 11 #define NATIVE_CLIENT_SRC_TRUSTED_PLUGIN_SRPC_BROWSER_INTERFACE_H_ | 11 #define NATIVE_CLIENT_SRC_TRUSTED_PLUGIN_BROWSER_INTERFACE_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/include/nacl_string.h" | 17 #include "native_client/src/include/nacl_string.h" |
| 18 #include "native_client/src/include/portability.h" | 18 #include "native_client/src/include/portability.h" |
| 19 #include "native_client/src/shared/npruntime/nacl_npapi.h" | 19 #include "native_client/src/shared/npruntime/nacl_npapi.h" |
| 20 #include "native_client/src/trusted/plugin/api_defines.h" | 20 #include "native_client/src/trusted/plugin/api_defines.h" |
| 21 | 21 |
| (...skipping 48 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 70 // bytes. Fuller checking is done by the service_runtime. | 70 // bytes. Fuller checking is done by the service_runtime. |
| 71 static bool MightBeElfExecutable(const char* e_ident_bytes, | 71 static bool MightBeElfExecutable(const char* e_ident_bytes, |
| 72 size_t size, | 72 size_t size, |
| 73 nacl::string* error); | 73 nacl::string* error); |
| 74 | 74 |
| 75 static const char* kNoError; | 75 static const char* kNoError; |
| 76 }; | 76 }; |
| 77 | 77 |
| 78 } // namespace plugin | 78 } // namespace plugin |
| 79 | 79 |
| 80 #endif // NATIVE_CLIENT_SRC_TRUSTED_PLUGIN_SRPC_BROWSER_INTERFACE_H_ | 80 #endif // NATIVE_CLIENT_SRC_TRUSTED_PLUGIN_BROWSER_INTERFACE_H_ |
| OLD | NEW |