Index: chrome/common/extensions/api/experimental.socket.idl |
diff --git a/chrome/common/extensions/api/experimental.socket.idl b/chrome/common/extensions/api/experimental.socket.idl |
index 0e77600d08beac26b03f6a32a175d555acc63d4d..86fe46aca2eddfcb683713a928d689123640845e 100644 |
--- a/chrome/common/extensions/api/experimental.socket.idl |
+++ b/chrome/common/extensions/api/experimental.socket.idl |
@@ -101,9 +101,11 @@ |
// Reads data from the given socket. |
// |socketId| : The socketId. |
+ // |bufferSize| : The read buffer size. |
// |callback| : Delivers data that was available to be read without |
// blocking. |
static void read(long socketId, |
+ optional long bufferSize, |
ReadCallback callback); |
// Writes data on the given socket. |
@@ -121,9 +123,11 @@ |
// Reads data from the given socket. |
// |socketId| : The socketId. |
+ // |bufferSize| : The receive buffer size. |
// |callback| : Delivers data that was available to be read without |
// blocking. |
static void recvFrom(long socketId, |
+ optional long bufferSize, |
RecvFromCallback callback); |
// Writes data on the given socket. |