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

Unified Diff: ppapi/thunk/ppb_tcp_socket_api.h

Issue 690903002: Remove timing limitation of SetOption invocation for PPAPI sockets. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase and fixed implementation. Created 6 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: ppapi/thunk/ppb_tcp_socket_api.h
diff --git a/ppapi/thunk/ppb_tcp_socket_api.h b/ppapi/thunk/ppb_tcp_socket_api.h
index beed0c6317a8e5b6abaeed72f59874c7e661e152..a3cefed2e3f2b3adf37879726b092bd112208de4 100644
--- a/ppapi/thunk/ppb_tcp_socket_api.h
+++ b/ppapi/thunk/ppb_tcp_socket_api.h
@@ -36,6 +36,9 @@ class PPAPI_THUNK_EXPORT PPB_TCPSocket_API {
virtual int32_t Accept(PP_Resource* accepted_tcp_socket,
scoped_refptr<TrackedCallback> callback) = 0;
virtual void Close() = 0;
+ virtual int32_t SetOption1_1(PP_TCPSocket_Option name,
+ const PP_Var& value,
+ scoped_refptr<TrackedCallback> callback) = 0;
virtual int32_t SetOption(PP_TCPSocket_Option name,
const PP_Var& value,
scoped_refptr<TrackedCallback> callback) = 0;

Powered by Google App Engine
This is Rietveld 408576698