| OLD | NEW |
| 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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 <dlfcn.h> | 5 #include <dlfcn.h> |
| 6 #include <pthread.h> | 6 #include <pthread.h> |
| 7 #include <stdio.h> | 7 #include <stdio.h> |
| 8 #include <stdlib.h> | 8 #include <stdlib.h> |
| 9 #include <string.h> | 9 #include <string.h> |
| 10 #include <sys/mount.h> |
| 10 | 11 |
| 11 #include <ppapi/cpp/completion_callback.h> | 12 #include <ppapi/cpp/completion_callback.h> |
| 12 #include <ppapi/cpp/instance.h> | 13 #include <ppapi/cpp/instance.h> |
| 13 #include <ppapi/cpp/module.h> | 14 #include <ppapi/cpp/module.h> |
| 14 #include <ppapi/cpp/var.h> | 15 #include <ppapi/cpp/var.h> |
| 15 | 16 |
| 16 #include "eightball.h" | 17 #include "eightball.h" |
| 17 #include "nacl_io/nacl_io.h" | 18 #include "nacl_io/nacl_io.h" |
| 18 #include "reverse.h" | 19 #include "reverse.h" |
| 19 | 20 |
| (...skipping 164 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 184 | 185 |
| 185 // Create and return a DlOpenInstance object. | 186 // Create and return a DlOpenInstance object. |
| 186 virtual pp::Instance* CreateInstance(PP_Instance instance) { | 187 virtual pp::Instance* CreateInstance(PP_Instance instance) { |
| 187 return new DlOpenInstance(instance); | 188 return new DlOpenInstance(instance); |
| 188 } | 189 } |
| 189 }; | 190 }; |
| 190 | 191 |
| 191 namespace pp { | 192 namespace pp { |
| 192 Module* CreateModule() { return new DlOpenModule(); } | 193 Module* CreateModule() { return new DlOpenModule(); } |
| 193 } // namespace pp | 194 } // namespace pp |
| OLD | NEW |