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

Unified Diff: ppapi/proxy/udp_socket_resource.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: Created 6 years, 1 month 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/proxy/udp_socket_resource.h
diff --git a/ppapi/proxy/udp_socket_resource.h b/ppapi/proxy/udp_socket_resource.h
index e0d099afef231e067e94d3baaaebc4a50f8ce930..f38ee7a2e53ebbf66ac505090d1745b3589d1f14 100644
--- a/ppapi/proxy/udp_socket_resource.h
+++ b/ppapi/proxy/udp_socket_resource.h
@@ -36,10 +36,15 @@ class PPAPI_PROXY_EXPORT UDPSocketResource : public UDPSocketResourceBase,
PP_Resource addr,
scoped_refptr<TrackedCallback> callback) override;
virtual void Close() override;
+ virtual int32_t SetOption1_0(
+ PP_UDPSocket_Option name,
+ const PP_Var& value,
+ scoped_refptr<TrackedCallback> callback) override;
virtual int32_t SetOption(PP_UDPSocket_Option name,
const PP_Var& value,
scoped_refptr<TrackedCallback> callback) override;
+
bbudge 2014/11/07 17:50:39 nit: extra whitespace
hidehiko 2014/11/07 21:13:55 Done.
private:
DISALLOW_COPY_AND_ASSIGN(UDPSocketResource);
};

Powered by Google App Engine
This is Rietveld 408576698