| OLD | NEW |
| 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 #ifndef PPAPI_TESTS_TEST_WEBSOCKET_H_ | 5 #ifndef PPAPI_TESTS_TEST_WEBSOCKET_H_ |
| 6 #define PPAPI_TESTS_TEST_WEBSOCKET_H_ | 6 #define PPAPI_TESTS_TEST_WEBSOCKET_H_ |
| 7 | 7 |
| 8 #include <string> | 8 #include <string> |
| 9 #include <vector> | 9 #include <vector> |
| 10 | 10 |
| (...skipping 37 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 48 std::string TestGetProtocol(); | 48 std::string TestGetProtocol(); |
| 49 std::string TestTextSendReceive(); | 49 std::string TestTextSendReceive(); |
| 50 std::string TestTextSendReceiveTwice(); | 50 std::string TestTextSendReceiveTwice(); |
| 51 std::string TestBinarySendReceive(); | 51 std::string TestBinarySendReceive(); |
| 52 std::string TestStressedSendReceive(); | 52 std::string TestStressedSendReceive(); |
| 53 std::string TestBufferedAmount(); | 53 std::string TestBufferedAmount(); |
| 54 std::string TestAbortCallsWithCallback(); | 54 std::string TestAbortCallsWithCallback(); |
| 55 std::string TestAbortSendMessageCall(); | 55 std::string TestAbortSendMessageCall(); |
| 56 std::string TestAbortCloseCall(); | 56 std::string TestAbortCloseCall(); |
| 57 std::string TestAbortReceiveMessageCall(); | 57 std::string TestAbortReceiveMessageCall(); |
| 58 std::string TestClosedFromServerWhileSending(); |
| 58 | 59 |
| 59 std::string TestCcInterfaces(); | 60 std::string TestCcInterfaces(); |
| 60 | 61 |
| 61 std::string TestUtilityInvalidConnect(); | 62 std::string TestUtilityInvalidConnect(); |
| 62 std::string TestUtilityProtocols(); | 63 std::string TestUtilityProtocols(); |
| 63 std::string TestUtilityGetURL(); | 64 std::string TestUtilityGetURL(); |
| 64 std::string TestUtilityValidConnect(); | 65 std::string TestUtilityValidConnect(); |
| 65 std::string TestUtilityInvalidClose(); | 66 std::string TestUtilityInvalidClose(); |
| 66 std::string TestUtilityValidClose(); | 67 std::string TestUtilityValidClose(); |
| 67 std::string TestUtilityGetProtocol(); | 68 std::string TestUtilityGetProtocol(); |
| 68 std::string TestUtilityTextSendReceive(); | 69 std::string TestUtilityTextSendReceive(); |
| 69 std::string TestUtilityBinarySendReceive(); | 70 std::string TestUtilityBinarySendReceive(); |
| 70 std::string TestUtilityBufferedAmount(); | 71 std::string TestUtilityBufferedAmount(); |
| 71 | 72 |
| 72 // Keeps Pepper API interfaces. These are used by the tests that access the C | 73 // Keeps Pepper API interfaces. These are used by the tests that access the C |
| 73 // API directly. | 74 // API directly. |
| 74 const PPB_WebSocket* websocket_interface_; | 75 const PPB_WebSocket* websocket_interface_; |
| 75 const PPB_Var* var_interface_; | 76 const PPB_Var* var_interface_; |
| 76 const PPB_VarArrayBuffer* arraybuffer_interface_; | 77 const PPB_VarArrayBuffer* arraybuffer_interface_; |
| 77 const PPB_Core* core_interface_; | 78 const PPB_Core* core_interface_; |
| 78 }; | 79 }; |
| 79 | 80 |
| 80 #endif // PPAPI_TESTS_TEST_WEBSOCKET_H_ | 81 #endif // PPAPI_TESTS_TEST_WEBSOCKET_H_ |
| OLD | NEW |