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

Unified Diff: chrome/common/extensions/api/sockets_udp.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
Index: chrome/common/extensions/api/sockets_udp.idl
diff --git a/chrome/common/extensions/api/sockets_udp.idl b/chrome/common/extensions/api/sockets_udp.idl
index def67d71045014e8c45bcc1a5aedf46ddbb2711a..2ebd9b0e75c2e204557d19166de4d2d9a4a016dc 100644
--- a/chrome/common/extensions/api/sockets_udp.idl
+++ b/chrome/common/extensions/api/sockets_udp.idl
@@ -4,8 +4,7 @@
// Use the <code>chrome.sockets.udp</code> API to send and receive data over the
// network using UDP connections. This API supersedes the UDP functionality
-// previously found in the "socket" API. Note that the socket ids created from
-// this namespace are not compatible with ids created in other namespaces.
+// previously found in the "socket" API.
namespace sockets.udp {
// The socket properties specified in the <code>create</code> or
// <code>update</code> function. Each property is optional. If a property
@@ -31,7 +30,9 @@ namespace sockets.udp {
// 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;
};

Powered by Google App Engine
This is Rietveld 408576698