| OLD | NEW |
| 1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2011 The Chromium 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 <iostream> |
| 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 "native_client/src/shared/platform/nacl_check.h" |
| 14 |
| 15 |
| 14 | 16 |
| 15 #include "ppapi/c/pp_errors.h" | 17 #include "ppapi/c/pp_errors.h" |
| 16 #include "ppapi/c/ppb_file_io.h" | 18 #include "ppapi/c/ppb_file_io.h" |
| 17 | 19 |
| 18 #include "ppapi/cpp/completion_callback.h" | 20 #include "ppapi/cpp/completion_callback.h" |
| 19 #include "ppapi/cpp/instance.h" | 21 #include "ppapi/cpp/instance.h" |
| 20 #include "ppapi/cpp/file_ref.h" | 22 #include "ppapi/cpp/file_ref.h" |
| 21 #include "ppapi/cpp/file_io.h" | 23 #include "ppapi/cpp/file_io.h" |
| 22 #include "ppapi/cpp/module.h" | 24 #include "ppapi/cpp/module.h" |
| 23 #include "ppapi/cpp/url_response_info.h" | 25 #include "ppapi/cpp/url_response_info.h" |
| (...skipping 291 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 315 virtual pp::Instance* CreateInstance(PP_Instance instance) { | 317 virtual pp::Instance* CreateInstance(PP_Instance instance) { |
| 316 return new MyInstance(instance); | 318 return new MyInstance(instance); |
| 317 } | 319 } |
| 318 }; | 320 }; |
| 319 | 321 |
| 320 namespace pp { | 322 namespace pp { |
| 321 Module* CreateModule() { | 323 Module* CreateModule() { |
| 322 return new MyModule(); | 324 return new MyModule(); |
| 323 } | 325 } |
| 324 } | 326 } |
| OLD | NEW |