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

Unified Diff: chrome/common/extensions/api/sockets_tcp_server.idl

Issue 94093013: Add documentation for the chrome.sockets API and manifest key. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Address code review feedback. Created 6 years, 11 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « chrome/common/extensions/api/sockets_tcp.idl ('k') | chrome/common/extensions/api/sockets_udp.idl » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/common/extensions/api/sockets_tcp_server.idl
diff --git a/chrome/common/extensions/api/sockets_tcp_server.idl b/chrome/common/extensions/api/sockets_tcp_server.idl
index f8ee823f2fa8e31a80243535ecffbfa1398dd844..26f1896cb9c275f68e5a6e40697fbe5edfd115ab 100644
--- a/chrome/common/extensions/api/sockets_tcp_server.idl
+++ b/chrome/common/extensions/api/sockets_tcp_server.idl
@@ -4,9 +4,7 @@
// Use the <code>chrome.sockets.tcpServer</code> API to create server
// applications using TCP connections. This API supersedes the TCP functionality
-// previously found in the <code>chrome.socket</code> API. Note that the socket
-// ids created from this namespace are not compatible with ids created in other
-// namespaces.
+// previously found in the <code>chrome.socket</code> API.
namespace sockets.tcpServer {
// The socket properties specified in the <code>create</code> or
// <code>update</code> function. Each property is optional. If a property
@@ -28,7 +26,9 @@ namespace sockets.tcpServer {
// Result of <code>create</code> call.
dictionary CreateInfo {
- // The ID of the newly created server socket.
+ // The ID of the newly created server socket. Note that socket IDs created
+ // from this API are not compatible with socket IDs created from other APIs,
+ // such as the deprecated <code>$ref:socket</code> API.
long socketId;
};
« no previous file with comments | « chrome/common/extensions/api/sockets_tcp.idl ('k') | chrome/common/extensions/api/sockets_udp.idl » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698