OLD | NEW |
1 // Copyright (c) 2010 The Chromium Authors. All rights reserved. | 1 /* Copyright (c) 2010 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_C_PPB_TRANSPORT_DEV_H_ | 5 #ifndef PPAPI_C_PPB_TRANSPORT_DEV_H_ |
6 #define PPAPI_C_PPB_TRANSPORT_DEV_H_ | 6 #define PPAPI_C_PPB_TRANSPORT_DEV_H_ |
7 | 7 |
8 #include "ppapi/c/pp_bool.h" | 8 #include "ppapi/c/pp_bool.h" |
9 #include "ppapi/c/pp_completion_callback.h" | 9 #include "ppapi/c/pp_completion_callback.h" |
10 #include "ppapi/c/pp_module.h" | 10 #include "ppapi/c/pp_module.h" |
11 #include "ppapi/c/pp_instance.h" | 11 #include "ppapi/c/pp_instance.h" |
12 #include "ppapi/c/pp_resource.h" | 12 #include "ppapi/c/pp_resource.h" |
13 #include "ppapi/c/pp_stdint.h" | 13 #include "ppapi/c/pp_stdint.h" |
14 #include "ppapi/c/pp_var.h" | 14 #include "ppapi/c/pp_var.h" |
(...skipping 45 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
60 // if the socket is currently flow-controlled. | 60 // if the socket is currently flow-controlled. |
61 int32_t (*Send)(PP_Resource transport, | 61 int32_t (*Send)(PP_Resource transport, |
62 const void* data, | 62 const void* data, |
63 uint32_t len, | 63 uint32_t len, |
64 struct PP_CompletionCallback cb); | 64 struct PP_CompletionCallback cb); |
65 | 65 |
66 // Disconnects from the remote peer. | 66 // Disconnects from the remote peer. |
67 int32_t (*Close)(PP_Resource transport); | 67 int32_t (*Close)(PP_Resource transport); |
68 }; | 68 }; |
69 | 69 |
70 #endif // PPAPI_C_PPB_TRANSPORT_DEV_H_ | 70 #endif /* PPAPI_C_PPB_TRANSPORT_DEV_H_ */ |
| 71 |
OLD | NEW |