Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(292)

Side by Side Diff: ppapi/c/private/ppb_tcp_server_socket_private.h

Issue 13220002: [PPAPI] Fix a bunch of spelling mistakes (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
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 5
6 /* From private/ppb_tcp_server_socket_private.idl, 6 /* From private/ppb_tcp_server_socket_private.idl,
7 * modified Tue Feb 14 12:24:48 2012. 7 * modified Thu Mar 28 10:31:11 2013.
8 */ 8 */
9 9
10 #ifndef PPAPI_C_PRIVATE_PPB_TCP_SERVER_SOCKET_PRIVATE_H_ 10 #ifndef PPAPI_C_PRIVATE_PPB_TCP_SERVER_SOCKET_PRIVATE_H_
11 #define PPAPI_C_PRIVATE_PPB_TCP_SERVER_SOCKET_PRIVATE_H_ 11 #define PPAPI_C_PRIVATE_PPB_TCP_SERVER_SOCKET_PRIVATE_H_
12 12
13 #include "ppapi/c/pp_bool.h" 13 #include "ppapi/c/pp_bool.h"
14 #include "ppapi/c/pp_completion_callback.h" 14 #include "ppapi/c/pp_completion_callback.h"
15 #include "ppapi/c/pp_instance.h" 15 #include "ppapi/c/pp_instance.h"
16 #include "ppapi/c/pp_macros.h" 16 #include "ppapi/c/pp_macros.h"
17 #include "ppapi/c/pp_resource.h" 17 #include "ppapi/c/pp_resource.h"
(...skipping 40 matching lines...) Expand 10 before | Expand all | Expand 10 after
58 */ 58 */
59 int32_t (*Listen)(PP_Resource tcp_server_socket, 59 int32_t (*Listen)(PP_Resource tcp_server_socket,
60 const struct PP_NetAddress_Private* addr, 60 const struct PP_NetAddress_Private* addr,
61 int32_t backlog, 61 int32_t backlog,
62 struct PP_CompletionCallback callback); 62 struct PP_CompletionCallback callback);
63 /** 63 /**
64 * Accepts single connection, creates instance of 64 * Accepts single connection, creates instance of
65 * PPB_TCPSocket_Private and stores reference to it in 65 * PPB_TCPSocket_Private and stores reference to it in
66 * |tcp_socket|. |callback| is invoked when connection is accepted 66 * |tcp_socket|. |callback| is invoked when connection is accepted
67 * or in the case of failure. This method can be called only after 67 * or in the case of failure. This method can be called only after
68 * succesfull Listen call on |tcp_server_socket|. 68 * successful Listen call on |tcp_server_socket|.
69 */ 69 */
70 int32_t (*Accept)(PP_Resource tcp_server_socket, 70 int32_t (*Accept)(PP_Resource tcp_server_socket,
71 PP_Resource* tcp_socket, 71 PP_Resource* tcp_socket,
72 struct PP_CompletionCallback callback); 72 struct PP_CompletionCallback callback);
73 /** 73 /**
74 * Cancels all pending callbacks reporting PP_ERROR_ABORTED and 74 * Cancels all pending callbacks reporting PP_ERROR_ABORTED and
75 * closes the socket. Note: this method is implicitly called when 75 * closes the socket. Note: this method is implicitly called when
76 * server socket is destroyed. 76 * server socket is destroyed.
77 */ 77 */
78 void (*StopListening)(PP_Resource tcp_server_socket); 78 void (*StopListening)(PP_Resource tcp_server_socket);
79 }; 79 };
80 80
81 typedef struct PPB_TCPServerSocket_Private_0_1 PPB_TCPServerSocket_Private; 81 typedef struct PPB_TCPServerSocket_Private_0_1 PPB_TCPServerSocket_Private;
82 /** 82 /**
83 * @} 83 * @}
84 */ 84 */
85 85
86 #endif /* PPAPI_C_PRIVATE_PPB_TCP_SERVER_SOCKET_PRIVATE_H_ */ 86 #endif /* PPAPI_C_PRIVATE_PPB_TCP_SERVER_SOCKET_PRIVATE_H_ */
87 87
OLDNEW
« no previous file with comments | « ppapi/c/private/ppb_network_monitor_private.h ('k') | ppapi/c/private/ppp_flash_browser_operations.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698