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

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

Issue 9699100: Add functionality to pppapi TCPSocket to support secure sockets in flash (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: . Created 8 years, 8 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
OLDNEW
(Empty)
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
3 // found in the LICENSE file.
4
5 #ifndef PAPPI_TESTS_TEST_TCP_SOCKET_PRIVATE_TRUSTED_H_
6 #define PAPPI_TESTS_TEST_TCP_SOCKET_PRIVATE_TRUSTED_H_
7
8 #include <string>
9
10 #include "ppapi/c/pp_stdint.h"
11 #include "ppapi/tests/test_case.h"
12
13 // This class is necessary to test the portions of TCP socket which are
14 // not exposed to NaCl yet. In particular, functionality related to
15 // X509 Certificates is tested here.
16 class TestTCPSocketPrivateTrusted : public TestCase {
17 public:
18 explicit TestTCPSocketPrivateTrusted(TestingInstance* instance);
19
20 // TestCase implementation.
21 virtual bool Init();
22 virtual void RunTests(const std::string& filter);
23
24 private:
25 std::string TestGetServerCertificate();
26
27 std::string host_;
28 uint16_t port_;
29 uint16_t ssl_port_;
30 };
31
32 #endif // PAPPI_TESTS_TEST_TCP_SOCKET_PRIVATE_TRUSTED_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698