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

Unified Diff: remoting/client/plugin/pepper_network_manager.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_utils.cc ('k') | remoting/client/plugin/pepper_port_allocator.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: remoting/client/plugin/pepper_network_manager.cc
diff --git a/remoting/client/plugin/pepper_network_manager.cc b/remoting/client/plugin/pepper_network_manager.cc
index e03be2c99a54293854bf7e3284cdf29cc41ddaa7..afe79a00419098765a497a7ae976c88a63791b22 100644
--- a/remoting/client/plugin/pepper_network_manager.cc
+++ b/remoting/client/plugin/pepper_network_manager.cc
@@ -74,14 +74,14 @@ void PepperNetworkManager::OnNetworkList(const pp::NetworkListPrivate& list) {
// TODO(sergeyu): Copy all addresses, not only the first one.
talk_base::IPAddress address;
switch (pp::NetAddressPrivate::GetFamily(addresses[0])) {
- case PP_NETADDRESSFAMILY_IPV4: {
+ case PP_NETADDRESSFAMILY_PRIVATE_IPV4: {
in_addr* address_ipv4 = reinterpret_cast<in_addr*>(address_bytes);
address = talk_base::IPAddress(*address_ipv4);
prefix_length = sizeof(in_addr) * 8;
break;
}
- case PP_NETADDRESSFAMILY_IPV6: {
+ case PP_NETADDRESSFAMILY_PRIVATE_IPV6: {
in6_addr* address_ipv6 = reinterpret_cast<in6_addr*>(address_bytes);
address = talk_base::IPAddress(*address_ipv6);
prefix_length = sizeof(in6_addr) * 8;
« no previous file with comments | « ppapi/tests/test_utils.cc ('k') | remoting/client/plugin/pepper_port_allocator.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698