| OLD | NEW |
| 1 // Copyright (c) 2013 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2013 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> |
| 6 |
| 5 #include <cstdio> | 7 #include <cstdio> |
| 6 #include <string> | 8 #include <string> |
| 7 | 9 |
| 8 #include "ppapi/cpp/instance.h" | 10 #include "ppapi/cpp/instance.h" |
| 9 #include "ppapi/cpp/message_loop.h" | 11 #include "ppapi/cpp/message_loop.h" |
| 10 #include "ppapi/cpp/module.h" | 12 #include "ppapi/cpp/module.h" |
| 11 #include "ppapi/cpp/var.h" | 13 #include "ppapi/cpp/var.h" |
| 12 #include "ppapi/utility/completion_callback_factory.h" | 14 #include "ppapi/utility/completion_callback_factory.h" |
| 13 | 15 |
| 14 class Instance : public pp::Instance { | 16 class Instance : public pp::Instance { |
| (...skipping 39 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 54 return new Instance(instance); | 56 return new Instance(instance); |
| 55 } | 57 } |
| 56 }; | 58 }; |
| 57 | 59 |
| 58 namespace pp { | 60 namespace pp { |
| 59 Module* CreateModule() { | 61 Module* CreateModule() { |
| 60 return new ::Module(); | 62 return new ::Module(); |
| 61 } | 63 } |
| 62 } // namespace pp | 64 } // namespace pp |
| 63 | 65 |
| OLD | NEW |