OLD | NEW |
1 // Copyright 2015 The Chromium Authors. All rights reserved. | 1 // Copyright 2015 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 "ppapi/cpp/completion_callback.h" | 7 #include "ppapi/cpp/completion_callback.h" |
6 #include "ppapi/cpp/instance.h" | 8 #include "ppapi/cpp/instance.h" |
7 #include "ppapi/cpp/module.h" | 9 #include "ppapi/cpp/module.h" |
8 #include "ppapi/cpp/tcp_socket.h" | 10 #include "ppapi/cpp/tcp_socket.h" |
9 #include "ppapi/cpp/udp_socket.h" | 11 #include "ppapi/cpp/udp_socket.h" |
10 #include "ppapi/utility/completion_callback_factory.h" | 12 #include "ppapi/utility/completion_callback_factory.h" |
11 | 13 |
12 namespace { | 14 namespace { |
13 | 15 |
14 class MyInstance : public pp::Instance { | 16 class MyInstance : public pp::Instance { |
(...skipping 78 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
93 | 95 |
94 } // namespace | 96 } // namespace |
95 | 97 |
96 namespace pp { | 98 namespace pp { |
97 | 99 |
98 Module* CreateModule() { | 100 Module* CreateModule() { |
99 return new MyModule(); | 101 return new MyModule(); |
100 } | 102 } |
101 | 103 |
102 } // namespace pp | 104 } // namespace pp |
OLD | NEW |