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

Unified Diff: chrome/browser/extensions/api/sockets_tcp/sockets_tcp_api.h

Issue 76403004: An implementation of chrome.socket.secure(). (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Made TLSSocket resumable, responses to sleevi's round-1 comments. Created 7 years 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
Index: chrome/browser/extensions/api/sockets_tcp/sockets_tcp_api.h
diff --git a/chrome/browser/extensions/api/sockets_tcp/sockets_tcp_api.h b/chrome/browser/extensions/api/sockets_tcp/sockets_tcp_api.h
index 59413aeb4028417dfe025002a86ae84883161cc1..d0e398ba97373497a7fab0b2b55879e9973c885a 100644
--- a/chrome/browser/extensions/api/sockets_tcp/sockets_tcp_api.h
+++ b/chrome/browser/extensions/api/sockets_tcp/sockets_tcp_api.h
@@ -239,6 +239,16 @@ class SocketsTcpGetSocketsFunction : public TCPSocketAsyncApiFunction {
virtual void Work() OVERRIDE;
};
+/*class SocketsTcpSecureFunction : public TCPSocketAsyncApiFunction {
rpaquay 2013/12/09 23:02:03 Should be implemented if "sockets_tcp.idl" is upda
+ public:
+ DECLARE_EXTENSION_FUNCTION("sockets.tcp.secure", SOCKETS_TCP_SECURE);
+ SocketsTcpSecureFunction();
+ protected:
+ virtual ~SocketsTcpSecureFunction();
+ virtual bool Prepare() OVERRIDE;
+}
+*/
+
} // namespace api
} // namespace extensions

Powered by Google App Engine
This is Rietveld 408576698