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 b42ecf7950fa78f1210da16617c6f64003a9d63f..fa644dd42dad763cc1b75c6d951f0e4e4eb99745 100644 |
--- a/chrome/common/extensions/api/experimental.socket.idl |
+++ b/chrome/common/extensions/api/experimental.socket.idl |
@@ -74,6 +74,9 @@ |
callback WriteCallback = void (WriteInfo writeInfo); |
dictionary RecvFromInfo { |
+ // The resultCode returned from the underlying read() call. |
+ long resultCode; |
+ |
// The data received. Warning: will probably become a blob or other |
// appropriate binary-friendly type. |
// TODO(miket): [instanceOf=ArrayBuffer]object data; |
@@ -84,7 +87,7 @@ |
callback RecvFromCallback = void (RecvFromInfo recvFromInfo); |
- callback SendToCallback = void (long bytesWritten); |
+ callback SendToCallback = void (WriteInfo writeInfo); |
interface Functions { |
// Creates a socket of the specified type that will connect to the specified |