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

Unified Diff: ppapi/tests/test_udp_socket_private.h

Issue 11274013: Added queued SendTo/RecvFrom calls. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 2 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 e4a23c976e40cadc9e8e77b860aa7acf2b13ccc6..6a18fb75407822bc7660335c507125f532f97ca1 100644
--- a/ppapi/tests/test_udp_socket_private.h
+++ b/ppapi/tests/test_udp_socket_private.h
@@ -5,6 +5,8 @@
#ifndef PPAPI_TESTS_TEST_UDP_SOCKET_PRIVATE_H_
#define PPAPI_TESTS_TEST_UDP_SOCKET_PRIVATE_H_
+#include <sys/time.h>
+
#include <string>
#include "ppapi/c/pp_stdint.h"
@@ -37,10 +39,19 @@ class TestUDPSocketPrivate : public TestCase {
PP_NetAddress_Private* address,
const std::string& message);
+ std::string BenchmarkQueuedRequests(size_t num_messages,
+ size_t message_size,
+ timeval* elapsed);
+ std::string BenchmarkSequentialRequests(size_t num_messages,
+ size_t message_size,
+ timeval* elapsed);
+
std::string TestConnect();
std::string TestConnectFailure();
std::string TestBroadcast();
std::string TestSetSocketFeatureErrors();
+ std::string TestQueuedRequests();
+ std::string TestSequentialRequests();
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