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

Unified Diff: chrome/browser/extensions/api/socket/socket_api.h

Issue 10387021: Add bufferSize argument of socket.read() and socket.recvFrom() (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Update Created 8 years, 7 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 | chrome/browser/extensions/api/socket/socket_api.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/extensions/api/socket/socket_api.h
diff --git a/chrome/browser/extensions/api/socket/socket_api.h b/chrome/browser/extensions/api/socket/socket_api.h
index f91970808b5e902b5d7433eab125d16eb117a65a..48b592d06fb0f447dccfe98ccc223cb67338704d 100644
--- a/chrome/browser/extensions/api/socket/socket_api.h
+++ b/chrome/browser/extensions/api/socket/socket_api.h
@@ -135,6 +135,7 @@ class SocketReadFunction : public SocketExtensionFunction {
private:
int socket_id_;
+ int buffer_size_;
};
class SocketWriteFunction : public SocketExtensionFunction {
@@ -174,6 +175,7 @@ class SocketRecvFromFunction : public SocketExtensionFunction {
private:
int socket_id_;
+ int buffer_size_;
};
class SocketSendToFunction : public SocketExtensionFunction {
« no previous file with comments | « no previous file | chrome/browser/extensions/api/socket/socket_api.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698