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

Unified Diff: ppapi/tests/test_udp_socket_private_shared.h

Issue 9212047: Add GetBoundAddress to PPB_UDPSocket_Private (Closed) Base URL: http://git.chromium.org/git/chromium.git@trunk
Patch Set: add a few more unit tests, updates from review Created 8 years, 10 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
index 25b4afa8a9d479a40039fc81aea3139c1692aecd..da0ec684b7c789bed0082602b6cc46fd7684ee4d 100644
--- a/ppapi/tests/test_udp_socket_private_shared.h
+++ b/ppapi/tests/test_udp_socket_private_shared.h
@@ -1,4 +1,4 @@
-// Copyright (c) 2011 The Chromium Authors. All rights reserved.
+// 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.
@@ -26,11 +26,12 @@ class TestUDPSocketPrivateShared : public TestCase {
// structure filled with local IP and some free port.
std::string GenerateNetAddress(PP_Resource* socket,
PP_NetAddress_Private* address);
- std::string CreateAndBindUDPSocket(const PP_NetAddress_Private *address,
+ std::string CreateAndBindUDPSocket(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_;

Powered by Google App Engine
This is Rietveld 408576698