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

Unified Diff: remoting/client/plugin/pepper_util.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 | « remoting/client/plugin/pepper_port_allocator.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: remoting/client/plugin/pepper_util.cc
diff --git a/remoting/client/plugin/pepper_util.cc b/remoting/client/plugin/pepper_util.cc
index c230842a6118f73c8648941dc3aff2cca025f422..3dc8e81634188769a99a3ec1aaa2e881b8dd68f6 100644
--- a/remoting/client/plugin/pepper_util.cc
+++ b/remoting/client/plugin/pepper_util.cc
@@ -65,11 +65,11 @@ bool PpAddressToSocketAddress(const PP_NetAddress_Private& pp_address,
if (result) {
switch (pp::NetAddressPrivate::GetFamily(pp_address)) {
- case PP_NETADDRESSFAMILY_IPV4:
+ case PP_NETADDRESSFAMILY_PRIVATE_IPV4:
address->SetIP(talk_base::IPAddress(
*reinterpret_cast<in_addr*>(addr_storage)));
break;
- case PP_NETADDRESSFAMILY_IPV6:
+ case PP_NETADDRESSFAMILY_PRIVATE_IPV6:
address->SetIP(talk_base::IPAddress(
*reinterpret_cast<in6_addr*>(addr_storage)));
break;
« no previous file with comments | « remoting/client/plugin/pepper_port_allocator.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698