OLD | NEW |
1 /* | 1 /* |
2 * Copyright 2014 The Chromium Authors. All rights reserved. | 2 * Copyright 2014 The Chromium 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 // | 7 // |
8 // Test for resource open before PPAPI initialization. | 8 // Test for resource open before PPAPI initialization. |
9 // | 9 // |
10 | 10 |
11 #include <pthread.h> | 11 #include <pthread.h> |
| 12 #include <stddef.h> |
| 13 #include <stdint.h> |
12 #include <stdio.h> | 14 #include <stdio.h> |
13 #include <string.h> | 15 #include <string.h> |
14 | 16 |
15 #include <sstream> | 17 #include <sstream> |
16 #include <string> | 18 #include <string> |
17 #include <vector> | 19 #include <vector> |
18 | 20 |
19 #include "native_client/src/untrusted/irt/irt.h" | 21 #include "native_client/src/untrusted/irt/irt.h" |
20 #include "native_client/src/untrusted/nacl/nacl_irt.h" | 22 #include "native_client/src/untrusted/nacl/nacl_irt.h" |
21 | 23 |
(...skipping 154 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
176 namespace pp { | 178 namespace pp { |
177 Module* CreateModule() { | 179 Module* CreateModule() { |
178 return new TestModule(); | 180 return new TestModule(); |
179 } | 181 } |
180 } | 182 } |
181 | 183 |
182 int main() { | 184 int main() { |
183 RunTests(); | 185 RunTests(); |
184 return PpapiPluginMain(); | 186 return PpapiPluginMain(); |
185 } | 187 } |
OLD | NEW |