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

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

Issue 183893041: Move sockets APIs out of src/chrome (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rename api targets 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
« no previous file with comments | « extensions/common/api/sockets_tcp_server.idl ('k') | extensions/common/extension_api.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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.udp</code> API to send and receive data over the 5 // Use the <code>chrome.sockets.udp</code> API to send and receive data over the
6 // network using UDP connections. This API supersedes the UDP functionality 6 // network using UDP connections. This API supersedes the UDP functionality
7 // previously found in the "socket" API. 7 // previously found in the "socket" API.
8 namespace sockets.udp { 8 namespace sockets.udp {
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 288 matching lines...) Expand 10 before | Expand all | Expand 10 after
299 static void onReceive(ReceiveInfo info); 299 static void onReceive(ReceiveInfo info);
300 300
301 // Event raised when a network error occured while the runtime was waiting 301 // Event raised when a network error occured while the runtime was waiting
302 // for data on the socket address and port. Once this event is raised, the 302 // for data on the socket address and port. Once this event is raised, the
303 // socket is paused and no more <code>onReceive</code> events will be raised 303 // socket is paused and no more <code>onReceive</code> events will be raised
304 // for this socket until the socket is resumed. 304 // for this socket until the socket is resumed.
305 // |info| : The event data. 305 // |info| : The event data.
306 static void onReceiveError(ReceiveErrorInfo info); 306 static void onReceiveError(ReceiveErrorInfo info);
307 }; 307 };
308 }; 308 };
OLDNEW
« no previous file with comments | « extensions/common/api/sockets_tcp_server.idl ('k') | extensions/common/extension_api.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698