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

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

Issue 10226010: Fix SocketApiTest.SocketUDPExtension problem in some dbg bots. (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Created 8 years, 8 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 | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698