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

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

Issue 16876004: Updating JSON Schema Compiler to add description field to schemas. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: (kalman) rebase Created 7 years, 6 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/session_restore.json ('k') | chrome/common/extensions/api/storage.json » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/common/extensions/api/socket.idl
diff --git a/chrome/common/extensions/api/socket.idl b/chrome/common/extensions/api/socket.idl
index 4bc60680e971f66962846c70791350475f193b8d..e727d84ec17c6ecc9355cc1fef15986a960dc4b4 100644
--- a/chrome/common/extensions/api/socket.idl
+++ b/chrome/common/extensions/api/socket.idl
@@ -2,6 +2,8 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
+// Use the <code>chrome.socket</code> API to send and receive data over the
+// network using TCP and UDP connections.
namespace socket {
enum SocketType {
tcp,
@@ -267,18 +269,18 @@ namespace socket {
// before calling this method.
// |socketId| : The socketId.
// |address| : The group address to join. Domain names are not supported.
- // |callback| : Called when the join group operation is done with an
+ // |callback| : Called when the join group operation is done with an
// integer parameter indicating the platform-independent error code.
static void joinGroup(long socketId,
DOMString address,
JoinGroupCallback callback);
// Leave the multicast group previously joined using <code>joinGroup</code>.
- // It's not necessary to leave the multicast group before destroying the
+ // It's not necessary to leave the multicast group before destroying the
// socket or exiting. This is automatically called by the OS.
//
- // Leaving the group will prevent the router from sending multicast
- // datagrams to the local host, presuming no other process on the host is
+ // Leaving the group will prevent the router from sending multicast
+ // datagrams to the local host, presuming no other process on the host is
// still joined to the group.
//
// |socketId| : The socketId.
@@ -300,7 +302,7 @@ namespace socket {
long ttl,
SetMulticastTimeToLiveCallback callback);
- // Set whether multicast packets sent from the host to the multicast
+ // Set whether multicast packets sent from the host to the multicast
// group will be looped back to the host.
//
// Note: the behavior of <code>setMulticastLoopbackMode</code> is slightly
« no previous file with comments | « chrome/common/extensions/api/session_restore.json ('k') | chrome/common/extensions/api/storage.json » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698