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.
5 #ifndef PAPPI_TESTS_TEST_TCP_SOCKET_PRIVATE_TRUSTED_H_
6 #define PAPPI_TESTS_TEST_TCP_SOCKET_PRIVATE_TRUSTED_H_
10 #include "ppapi/c/pp_stdint.h"
11 #include "ppapi/tests/test_case.h"
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
{
18 explicit TestTCPSocketPrivateTrusted(TestingInstance
* instance
);
20 // TestCase implementation.
22 virtual void RunTests(const std::string
& filter
);
25 std::string
TestGetServerCertificate();
32 #endif // PAPPI_TESTS_TEST_TCP_SOCKET_PRIVATE_TRUSTED_H_