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

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

Issue 10692160: Support socket endpoint permissions for AppsV2 Socket API. (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Rebase and fix a unit test Created 8 years, 4 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/browser/extensions/api/socket/socket.h ('k') | 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 69406f12ceec1981fb77d2b4bb287731d169bba5..14f31375c1e20942e66645ed626efb07a68323db 100644
--- a/chrome/browser/extensions/api/socket/socket_api.h
+++ b/chrome/browser/extensions/api/socket/socket_api.h
@@ -125,6 +125,7 @@ class SocketConnectFunction : public SocketExtensionWithDnsLookupFunction {
int socket_id_;
std::string hostname_;
int port_;
+ Socket* socket_;
};
class SocketDisconnectFunction : public SocketAsyncApiFunction {
@@ -243,6 +244,7 @@ class SocketSendToFunction : public SocketExtensionWithDnsLookupFunction {
size_t io_buffer_size_;
std::string hostname_;
int port_;
+ Socket* socket_;
};
class SocketSetKeepAliveFunction : public SocketAsyncApiFunction {
« no previous file with comments | « chrome/browser/extensions/api/socket/socket.h ('k') | chrome/browser/extensions/api/socket/socket_api.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698