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

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: fix build error after rebase 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
« no previous file with comments | « ppapi/shared_impl/private/udp_socket_private_impl.cc ('k') | ppapi/tests/test_udp_socket_private_shared.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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..2f74965451264a51fce318c7841a4516357b7cc3 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,14 @@ 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 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_;
« no previous file with comments | « ppapi/shared_impl/private/udp_socket_private_impl.cc ('k') | ppapi/tests/test_udp_socket_private_shared.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698