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

Unified Diff: chrome/common/extensions/api/sockets_tcp.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 | « no previous file | chrome/common/extensions/api/sockets_tcp_server.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.idl
diff --git a/chrome/common/extensions/api/sockets_tcp.idl b/chrome/common/extensions/api/sockets_tcp.idl
index adbde22732869f78a4a0053d6c1048331e2df091..3dc7d5c7337f07a1aa4d718977f8b93488a68c16 100644
--- a/chrome/common/extensions/api/sockets_tcp.idl
+++ b/chrome/common/extensions/api/sockets_tcp.idl
@@ -4,9 +4,7 @@
// Use the <code>chrome.sockets.tcp</code> API to send and receive data over the
// network 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.tcp {
// The socket properties specified in the <code>create</code> or
// <code>update</code> function. Each property is optional. If a property
@@ -31,7 +29,9 @@ namespace sockets.tcp {
// Result of <code>create</code> call.
dictionary CreateInfo {
- // The ID of the newly created socket.
+ // The ID of the newly created 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 | « no previous file | chrome/common/extensions/api/sockets_tcp_server.idl » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698