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

Side by Side Diff: ppapi/tests/test_websocket.h

Issue 9724007: WebSocket Pepper API: fix data corruption at ReceiveMessage in NaCl (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: rebase Created 8 years, 9 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 unified diff | Download patch
OLDNEW
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 PAPPI_TESTS_TEST_WEBSOCKET_H_ 5 #ifndef PAPPI_TESTS_TEST_WEBSOCKET_H_
6 #define PAPPI_TESTS_TEST_WEBSOCKET_H_ 6 #define PAPPI_TESTS_TEST_WEBSOCKET_H_
7 7
8 #include <string> 8 #include <string>
9 9
10 #include "ppapi/c/ppb_core.h" 10 #include "ppapi/c/ppb_core.h"
(...skipping 27 matching lines...) Expand all
38 std::string TestUninitializedPropertiesAccess(); 38 std::string TestUninitializedPropertiesAccess();
39 std::string TestInvalidConnect(); 39 std::string TestInvalidConnect();
40 std::string TestProtocols(); 40 std::string TestProtocols();
41 std::string TestGetURL(); 41 std::string TestGetURL();
42 std::string TestValidConnect(); 42 std::string TestValidConnect();
43 std::string TestInvalidClose(); 43 std::string TestInvalidClose();
44 std::string TestValidClose(); 44 std::string TestValidClose();
45 std::string TestGetProtocol(); 45 std::string TestGetProtocol();
46 std::string TestTextSendReceive(); 46 std::string TestTextSendReceive();
47 std::string TestBinarySendReceive(); 47 std::string TestBinarySendReceive();
48 std::string TestStressedSendReceive();
48 std::string TestBufferedAmount(); 49 std::string TestBufferedAmount();
49 50
50 std::string TestCcInterfaces(); 51 std::string TestCcInterfaces();
51 52
52 std::string TestUtilityInvalidConnect(); 53 std::string TestUtilityInvalidConnect();
53 std::string TestUtilityProtocols(); 54 std::string TestUtilityProtocols();
54 std::string TestUtilityGetURL(); 55 std::string TestUtilityGetURL();
55 std::string TestUtilityValidConnect(); 56 std::string TestUtilityValidConnect();
56 std::string TestUtilityInvalidClose(); 57 std::string TestUtilityInvalidClose();
57 std::string TestUtilityValidClose(); 58 std::string TestUtilityValidClose();
58 std::string TestUtilityGetProtocol(); 59 std::string TestUtilityGetProtocol();
59 std::string TestUtilityTextSendReceive(); 60 std::string TestUtilityTextSendReceive();
60 std::string TestUtilityBinarySendReceive(); 61 std::string TestUtilityBinarySendReceive();
61 std::string TestUtilityBufferedAmount(); 62 std::string TestUtilityBufferedAmount();
62 63
63 // Keeps Pepper API interfaces. These are used by the tests that access the C 64 // Keeps Pepper API interfaces. These are used by the tests that access the C
64 // API directly. 65 // API directly.
65 const PPB_WebSocket* websocket_interface_; 66 const PPB_WebSocket* websocket_interface_;
66 const PPB_Var* var_interface_; 67 const PPB_Var* var_interface_;
67 const PPB_VarArrayBuffer* arraybuffer_interface_; 68 const PPB_VarArrayBuffer* arraybuffer_interface_;
68 const PPB_Core* core_interface_; 69 const PPB_Core* core_interface_;
69 }; 70 };
70 71
71 #endif // PAPPI_TESTS_TEST_WEBSOCKET_H_ 72 #endif // PAPPI_TESTS_TEST_WEBSOCKET_H_
OLDNEW
« no previous file with comments | « ppapi/native_client/src/shared/ppapi_proxy/browser_ppb_websocket_rpc_server.cc ('k') | ppapi/tests/test_websocket.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698