OLD | NEW |
1 // Copyright (c) 2011 The Native Client Authors. All rights reserved. | 1 // Copyright (c) 2011 The Native Client Authors. All rights reserved. |
2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 #include <stdint.h> | 5 #include <stdint.h> |
6 #include <stdlib.h> | 6 #include <stdlib.h> |
7 | 7 |
8 #include <iostream> | 8 #include <ostream> |
9 #include <sstream> | 9 #include <sstream> |
10 #include <string> | 10 #include <string> |
11 #include <queue> | 11 #include <queue> |
12 | 12 |
13 #include <nacl/nacl_check.h> | 13 #include <nacl/nacl_check.h> |
14 | 14 |
15 #include "ppapi/c/pp_errors.h" | 15 #include "ppapi/c/pp_errors.h" |
16 #include "ppapi/c/ppb_file_io.h" | 16 #include "ppapi/c/ppb_file_io.h" |
17 | 17 |
18 #include "ppapi/cpp/completion_callback.h" | 18 #include "ppapi/cpp/completion_callback.h" |
(...skipping 297 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
316 virtual pp::Instance* CreateInstance(PP_Instance instance) { | 316 virtual pp::Instance* CreateInstance(PP_Instance instance) { |
317 return new MyInstance(instance); | 317 return new MyInstance(instance); |
318 } | 318 } |
319 }; | 319 }; |
320 | 320 |
321 namespace pp { | 321 namespace pp { |
322 Module* CreateModule() { | 322 Module* CreateModule() { |
323 return new MyModule(); | 323 return new MyModule(); |
324 } | 324 } |
325 } | 325 } |
OLD | NEW |