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

Unified Diff: ppapi/tests/test_udp_socket_private_shared.h

Issue 9791003: Added pepper test for SSLHandshake (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: . 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 side-by-side diff with in-line comments
Download patch
Index: ppapi/tests/test_udp_socket_private_shared.h
diff --git a/ppapi/tests/test_udp_socket_private_shared.h b/ppapi/tests/test_udp_socket_private_shared.h
deleted file mode 100644
index 2f74965451264a51fce318c7841a4516357b7cc3..0000000000000000000000000000000000000000
--- a/ppapi/tests/test_udp_socket_private_shared.h
+++ /dev/null
@@ -1,44 +0,0 @@
-// Copyright (c) 2012 The Chromium Authors. All rights reserved.
-// Use of this source code is governed by a BSD-style license that can be
-// found in the LICENSE file.
-
-#ifndef PPAPI_TESTS_TEST_UDP_SOCKET_PRIVATE_SHARED_H_
-#define PPAPI_TESTS_TEST_UDP_SOCKET_PRIVATE_SHARED_H_
-
-#include "ppapi/cpp/private/tcp_socket_private.h"
-#include "ppapi/cpp/private/udp_socket_private.h"
-#include "ppapi/tests/test_case.h"
-
-class TestUDPSocketPrivateShared : public TestCase {
- public:
- explicit TestUDPSocketPrivateShared(TestingInstance* instance);
-
- // TestCase implementation.
- virtual bool Init();
- virtual void RunTests(const std::string& filter);
-
- void QuitMessageLoop();
-
- private:
- // Creates tcp_socket and connects to www.google.com:80. After that,
- // stores into |address| local address and returns created
- // tcp_socket. This is a way to create |PP_NetAddress_Private|
- // structure filled with local IP and some free port.
- std::string GenerateNetAddress(PP_Resource* socket,
- PP_NetAddress_Private* address);
- std::string CreateAndBindUDPSocket(PP_NetAddress_Private *address,
- PP_Resource *socket);
- std::string BindUDPSocketFailure(PP_NetAddress_Private *address,
- PP_Resource *socket);
-
- std::string TestCreate();
- std::string TestConnect();
- std::string TestConnectFailure();
-
- const PPB_TCPSocket_Private* tcp_socket_private_interface_;
- const PPB_UDPSocket_Private* udp_socket_private_interface_;
- std::string host_;
- uint16_t port_;
-};
-
-#endif // PPAPI_TESTS_TEST_UDP_SOCKET_PRIVATE_SHARED_H_

Powered by Google App Engine
This is Rietveld 408576698