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

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

Issue 22923014: TCPSockets are switched to the new Pepper proxy. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Sync. Created 7 years, 3 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 | Annotate | Revision Log
« no previous file with comments | « ppapi/tests/test_tcp_server_socket_private.cc ('k') | ppapi/tests/test_tcp_socket_private.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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_TCP_SOCKET_PRIVATE_H_ 5 #ifndef PAPPI_TESTS_TEST_TCP_SOCKET_PRIVATE_H_
6 #define PAPPI_TESTS_TEST_TCP_SOCKET_PRIVATE_H_ 6 #define PAPPI_TESTS_TEST_TCP_SOCKET_PRIVATE_H_
7 7
8 #include <string> 8 #include <string>
9 9
10 #include "ppapi/c/pp_stdint.h" 10 #include "ppapi/c/pp_stdint.h"
(...skipping 10 matching lines...) Expand all
21 // TestCase implementation. 21 // TestCase implementation.
22 virtual bool Init(); 22 virtual bool Init();
23 virtual void RunTests(const std::string& filter); 23 virtual void RunTests(const std::string& filter);
24 24
25 private: 25 private:
26 std::string TestBasic(); 26 std::string TestBasic();
27 std::string TestReadWrite(); 27 std::string TestReadWrite();
28 std::string TestReadWriteSSL(); 28 std::string TestReadWriteSSL();
29 std::string TestConnectAddress(); 29 std::string TestConnectAddress();
30 std::string TestSetOption(); 30 std::string TestSetOption();
31 std::string TestLargeRead();
31 32
32 int32_t ReadFirstLineFromSocket(pp::TCPSocketPrivate* socket, std::string* s); 33 int32_t ReadFirstLineFromSocket(pp::TCPSocketPrivate* socket, std::string* s);
33 int32_t WriteStringToSocket(pp::TCPSocketPrivate* socket, 34 int32_t WriteStringToSocket(pp::TCPSocketPrivate* socket,
34 const std::string& s); 35 const std::string& s);
35 36
36 std::string host_; 37 std::string host_;
37 uint16_t port_; 38 uint16_t port_;
38 uint16_t ssl_port_; 39 uint16_t ssl_port_;
39 }; 40 };
40 41
41 #endif // PAPPI_TESTS_TEST_TCP_SOCKET_PRIVATE_H_ 42 #endif // PAPPI_TESTS_TEST_TCP_SOCKET_PRIVATE_H_
OLDNEW
« no previous file with comments | « ppapi/tests/test_tcp_server_socket_private.cc ('k') | ppapi/tests/test_tcp_socket_private.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698