OLD | NEW |
1 // Copyright 2013 The Chromium Authors. All rights reserved. | 1 // Copyright 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 #ifndef PPAPI_CPP_UDP_SOCKET_H_ | 5 #ifndef PPAPI_CPP_UDP_SOCKET_H_ |
6 #define PPAPI_CPP_UDP_SOCKET_H_ | 6 #define PPAPI_CPP_UDP_SOCKET_H_ |
7 | 7 |
| 8 #include <stdint.h> |
| 9 |
8 #include "ppapi/c/ppb_udp_socket.h" | 10 #include "ppapi/c/ppb_udp_socket.h" |
9 #include "ppapi/cpp/net_address.h" | 11 #include "ppapi/cpp/net_address.h" |
10 #include "ppapi/cpp/pass_ref.h" | 12 #include "ppapi/cpp/pass_ref.h" |
11 #include "ppapi/cpp/resource.h" | 13 #include "ppapi/cpp/resource.h" |
12 | 14 |
13 namespace pp { | 15 namespace pp { |
14 | 16 |
15 class CompletionCallback; | 17 class CompletionCallback; |
16 class InstanceHandle; | 18 class InstanceHandle; |
17 class Var; | 19 class Var; |
(...skipping 160 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
178 /// completion. | 180 /// completion. |
179 /// | 181 /// |
180 /// @return An int32_t containing an error code from <code>pp_errors.h</code>. | 182 /// @return An int32_t containing an error code from <code>pp_errors.h</code>. |
181 int32_t LeaveGroup(const NetAddress& group, | 183 int32_t LeaveGroup(const NetAddress& group, |
182 const CompletionCallback callback); | 184 const CompletionCallback callback); |
183 }; | 185 }; |
184 | 186 |
185 } // namespace pp | 187 } // namespace pp |
186 | 188 |
187 #endif // PPAPI_CPP_UDP_SOCKET_H_ | 189 #endif // PPAPI_CPP_UDP_SOCKET_H_ |
OLD | NEW |