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

Unified Diff: ppapi/tests/test_udp_socket_private.h

Issue 10735056: AllowBroadcast() is exposed to NaCl. (Closed) Base URL: http://git.chromium.org/chromium/src.git@udp_broadcast
Patch Set: Sync. 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 | « ppapi/shared_impl/private/udp_socket_private_impl.cc ('k') | ppapi/tests/test_udp_socket_private.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ppapi/tests/test_udp_socket_private.h
diff --git a/ppapi/tests/test_udp_socket_private.h b/ppapi/tests/test_udp_socket_private.h
index a16484241125660ac44028f593b2705565e34370..e4a23c976e40cadc9e8e77b860aa7acf2b13ccc6 100644
--- a/ppapi/tests/test_udp_socket_private.h
+++ b/ppapi/tests/test_udp_socket_private.h
@@ -21,13 +21,26 @@ class TestUDPSocketPrivate : public TestCase {
private:
std::string GetLocalAddress(PP_NetAddress_Private* address);
+ std::string SetBroadcastOptions(pp::UDPSocketPrivate* socket);
std::string BindUDPSocket(pp::UDPSocketPrivate* socket,
PP_NetAddress_Private *address);
+ std::string LookupPortAndBindUDPSocket(pp::UDPSocketPrivate* socket,
+ PP_NetAddress_Private* address);
std::string BindUDPSocketFailure(pp::UDPSocketPrivate* socket,
PP_NetAddress_Private *address);
+ std::string ReadSocket(pp::UDPSocketPrivate* socket,
+ PP_NetAddress_Private* address,
+ size_t size,
+ std::string* message);
+ std::string PassMessage(pp::UDPSocketPrivate* target,
+ pp::UDPSocketPrivate* source,
+ PP_NetAddress_Private* address,
+ const std::string& message);
std::string TestConnect();
std::string TestConnectFailure();
+ std::string TestBroadcast();
+ std::string TestSetSocketFeatureErrors();
std::string host_;
uint16_t port_;
« no previous file with comments | « ppapi/shared_impl/private/udp_socket_private_impl.cc ('k') | ppapi/tests/test_udp_socket_private.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698