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 #ifndef LIBRARIES_NACL_IO_REAL_PEPPER_INTERFACE_H_ | 5 #ifndef LIBRARIES_NACL_IO_REAL_PEPPER_INTERFACE_H_ |
6 #define LIBRARIES_NACL_IO_REAL_PEPPER_INTERFACE_H_ | 6 #define LIBRARIES_NACL_IO_REAL_PEPPER_INTERFACE_H_ |
7 | 7 |
8 #include <ppapi/c/ppb.h> | 8 #include <ppapi/c/ppb.h> |
9 #include <ppapi/c/ppb_core.h> | 9 #include <ppapi/c/ppb_core.h> |
10 #include <ppapi/c/ppb_message_loop.h> | 10 #include <ppapi/c/ppb_message_loop.h> |
11 #include <ppapi/c/ppb_net_address.h> | |
12 #include <ppapi/c/ppb_tcp_socket.h> | |
13 #include <ppapi/c/ppb_udp_socket.h> | |
binji
2013/08/09 19:28:06
shouldn't be necessary to include here
noelallen1
2013/08/09 22:53:22
Done.
| |
11 #include "pepper_interface.h" | 14 #include "pepper_interface.h" |
12 | 15 |
13 namespace nacl_io { | 16 namespace nacl_io { |
14 | 17 |
15 // Forward declare interface classes. | 18 // Forward declare interface classes. |
16 #include "nacl_io/pepper/undef_macros.h" | 19 #include "nacl_io/pepper/undef_macros.h" |
17 #include "nacl_io/pepper/define_empty_macros.h" | 20 #include "nacl_io/pepper/define_empty_macros.h" |
18 #undef BEGIN_INTERFACE | 21 #undef BEGIN_INTERFACE |
19 #define BEGIN_INTERFACE(BaseClass, PPInterface, InterfaceString) \ | 22 #define BEGIN_INTERFACE(BaseClass, PPInterface, InterfaceString) \ |
20 class Real##BaseClass; | 23 class Real##BaseClass; |
(...skipping 29 matching lines...) Expand all Loading... | |
50 #include "nacl_io/pepper/define_empty_macros.h" | 53 #include "nacl_io/pepper/define_empty_macros.h" |
51 #undef BEGIN_INTERFACE | 54 #undef BEGIN_INTERFACE |
52 #define BEGIN_INTERFACE(BaseClass, PPInterface, InterfaceString) \ | 55 #define BEGIN_INTERFACE(BaseClass, PPInterface, InterfaceString) \ |
53 Real##BaseClass* BaseClass##interface_; | 56 Real##BaseClass* BaseClass##interface_; |
54 #include "nacl_io/pepper/all_interfaces.h" | 57 #include "nacl_io/pepper/all_interfaces.h" |
55 }; | 58 }; |
56 | 59 |
57 } // namespace nacl_io | 60 } // namespace nacl_io |
58 | 61 |
59 #endif // LIBRARIES_NACL_IO_REAL_PEPPER_INTERFACE_H_ | 62 #endif // LIBRARIES_NACL_IO_REAL_PEPPER_INTERFACE_H_ |
OLD | NEW |