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

Side by Side Diff: extensions/common/api/sockets_tcp_server.idl

Issue 183893041: Move sockets APIs out of src/chrome (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 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 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 // Use the <code>chrome.sockets.tcpServer</code> API to create server 5 // Use the <code>chrome.sockets.tcpServer</code> API to create server
6 // applications using TCP connections. This API supersedes the TCP functionality 6 // applications using TCP connections. This API supersedes the TCP functionality
7 // previously found in the <code>chrome.socket</code> API. 7 // previously found in the <code>chrome.socket</code> API.
8 namespace sockets.tcpServer { 8 namespace sockets.tcpServer {
9 // The socket properties specified in the <code>create</code> or 9 // The socket properties specified in the <code>create</code> or
10 // <code>update</code> function. Each property is optional. If a property 10 // <code>update</code> function. Each property is optional. If a property
(...skipping 173 matching lines...) Expand 10 before | Expand all | Expand 10 after
184 184
185 // Event raised when a network error occured while the runtime was waiting 185 // Event raised when a network error occured while the runtime was waiting
186 // for new connections on the socket address and port. Once this event is 186 // for new connections on the socket address and port. Once this event is
187 // raised, the socket is set to <code>paused</code> and no more 187 // raised, the socket is set to <code>paused</code> and no more
188 // <code>onAccept</code> events are raised for this socket until the socket 188 // <code>onAccept</code> events are raised for this socket until the socket
189 // is resumed. 189 // is resumed.
190 // |info| : The event data. 190 // |info| : The event data.
191 static void onAcceptError(AcceptErrorInfo info); 191 static void onAcceptError(AcceptErrorInfo info);
192 }; 192 };
193 }; 193 };
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698