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 - API invariant portions. | 8 // Portable interface for browser interaction - API invariant portions. |
9 | 9 |
10 #include "native_client/src/trusted/plugin/npapi/browser_impl_npapi.h" | 10 #include "native_client/src/trusted/plugin/browser_interface.h" |
11 | 11 |
12 #include <setjmp.h> | 12 #include <setjmp.h> |
13 #include <stdio.h> | 13 #include <stdio.h> |
14 #include <string.h> | 14 #include <string.h> |
15 | 15 |
16 #include "native_client/src/include/nacl_string.h" | 16 #include "native_client/src/include/nacl_string.h" |
17 #include "native_client/src/include/nacl_elf.h" | 17 #include "native_client/src/include/nacl_elf.h" |
18 #include "native_client/src/include/portability_io.h" | 18 #include "native_client/src/include/portability_io.h" |
19 #include "native_client/src/shared/npruntime/nacl_npapi.h" | 19 #include "native_client/src/shared/npruntime/nacl_npapi.h" |
20 | 20 |
(...skipping 36 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
57 ss << "Load failed: ABI version mismatch: expected " << EF_NACL_ABIVERSION | 57 ss << "Load failed: ABI version mismatch: expected " << EF_NACL_ABIVERSION |
58 << ", found " << (unsigned) e_ident_bytes[EI_ABIVERSION] << "."; | 58 << ", found " << (unsigned) e_ident_bytes[EI_ABIVERSION] << "."; |
59 *error = ss.str(); | 59 *error = ss.str(); |
60 return false; | 60 return false; |
61 } | 61 } |
62 *error = kNoError; | 62 *error = kNoError; |
63 return true; | 63 return true; |
64 } | 64 } |
65 | 65 |
66 } // namespace plugin | 66 } // namespace plugin |
OLD | NEW |