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

Unified Diff: ppapi/tests/test_net_address_private.cc

Issue 17615004: Add "PRIVATE" to the enum names of some private Pepper networking APIs: (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 6 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/tests/test_host_resolver_private_disallowed.cc ('k') | ppapi/tests/test_network_monitor_private.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ppapi/tests/test_net_address_private.cc
diff --git a/ppapi/tests/test_net_address_private.cc b/ppapi/tests/test_net_address_private.cc
index 7b35e6663e7aa6b5f967b1983a7dd0fe6629a373..a3474c2f35214aa214a214c2acdb17bb7fbe4dc2 100644
--- a/ppapi/tests/test_net_address_private.cc
+++ b/ppapi/tests/test_net_address_private.cc
@@ -231,11 +231,13 @@ std::string TestNetAddressPrivate::TestDescribeIPv6() {
std::string TestNetAddressPrivate::TestGetFamily() {
uint8_t localhost_ip[4] = { 127, 0, 0, 1 };
PP_NetAddress_Private ipv4 = MakeIPv4NetAddress(localhost_ip, 80);
- ASSERT_EQ(NetAddressPrivate::GetFamily(ipv4), PP_NETADDRESSFAMILY_IPV4);
+ ASSERT_EQ(NetAddressPrivate::GetFamily(ipv4),
+ PP_NETADDRESSFAMILY_PRIVATE_IPV4);
uint16_t ipv6_address[8] = { 0x1234, 0xabcd, 0, 0, 0xff, 0, 0, 0xcdef };
PP_NetAddress_Private ipv6 = MakeIPv6NetAddress(ipv6_address, 123, 0);
- ASSERT_EQ(NetAddressPrivate::GetFamily(ipv6), PP_NETADDRESSFAMILY_IPV6);
+ ASSERT_EQ(NetAddressPrivate::GetFamily(ipv6),
+ PP_NETADDRESSFAMILY_PRIVATE_IPV6);
PASS();
}
« no previous file with comments | « ppapi/tests/test_host_resolver_private_disallowed.cc ('k') | ppapi/tests/test_network_monitor_private.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698