summaryrefslogtreecommitdiffstats
path: root/ppapi/tests/test_websocket.h
diff options
context:
space:
mode:
authortoyoshim@chromium.org <toyoshim@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-02-29 20:22:09 +0000
committertoyoshim@chromium.org <toyoshim@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-02-29 20:22:09 +0000
commit2785cb9d787552852a68e3ac586607807dfa0d96 (patch)
tree376b552f7853c194d58f3e5fb3888e4de20c4aee /ppapi/tests/test_websocket.h
parent969229ae0e7187a5b786dd83de2079145346a7b7 (diff)
downloadchromium_src-2785cb9d787552852a68e3ac586607807dfa0d96.zip
chromium_src-2785cb9d787552852a68e3ac586607807dfa0d96.tar.gz
chromium_src-2785cb9d787552852a68e3ac586607807dfa0d96.tar.bz2
WebSocket Pepper API: an utility class implementation.
This class privide JS binding like API to Pepper C++ developers. BUG=87310 TEST=ui_tests --gtest_filter='PPAPI*Test.Websocket_Utility*' Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=115093 Review URL: http://codereview.chromium.org/8956008 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@124238 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'ppapi/tests/test_websocket.h')
-rw-r--r--ppapi/tests/test_websocket.h11
1 files changed, 11 insertions, 0 deletions
diff --git a/ppapi/tests/test_websocket.h b/ppapi/tests/test_websocket.h
index f63d717..8024bb7 100644
--- a/ppapi/tests/test_websocket.h
+++ b/ppapi/tests/test_websocket.h
@@ -47,6 +47,17 @@ class TestWebSocket : public TestCase {
std::string TestCcInterfaces();
+ std::string TestUtilityInvalidConnect();
+ std::string TestUtilityProtocols();
+ std::string TestUtilityGetURL();
+ std::string TestUtilityValidConnect();
+ std::string TestUtilityInvalidClose();
+ std::string TestUtilityValidClose();
+ std::string TestUtilityGetProtocol();
+ std::string TestUtilityTextSendReceive();
+ std::string TestUtilityBinarySendReceive();
+ std::string TestUtilityBufferedAmount();
+
// Used by the tests that access the C API directly.
const PPB_WebSocket* websocket_interface_;
const PPB_Var* var_interface_;