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 47 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
62 | 64 |
63 } // namespace | 65 } // namespace |
64 | 66 |
65 namespace pp { | 67 namespace pp { |
66 | 68 |
67 Module* CreateModule() { | 69 Module* CreateModule() { |
68 return new MyModule(); | 70 return new MyModule(); |
69 } | 71 } |
70 | 72 |
71 } // namespace pp | 73 } // namespace pp |
OLD | NEW |