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

Unified Diff: ppapi/proxy/host_resolver_resource.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/cpp/private/net_address_private.cc ('k') | ppapi/proxy/ppapi_messages.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ppapi/proxy/host_resolver_resource.cc
diff --git a/ppapi/proxy/host_resolver_resource.cc b/ppapi/proxy/host_resolver_resource.cc
index c21d482572a3031a36689b9f52fc768ad41249d2..a2898566f7f9527579cc7408c46f98df2202b070 100644
--- a/ppapi/proxy/host_resolver_resource.cc
+++ b/ppapi/proxy/host_resolver_resource.cc
@@ -19,22 +19,22 @@ PP_HostResolver_Private_Hint ConvertToHostResolverPrivateHint(
PP_HostResolver_Private_Hint private_hint;
switch (hint.family) {
case PP_NETADDRESS_FAMILY_UNSPECIFIED:
- private_hint.family = PP_NETADDRESSFAMILY_UNSPECIFIED;
+ private_hint.family = PP_NETADDRESSFAMILY_PRIVATE_UNSPECIFIED;
break;
case PP_NETADDRESS_FAMILY_IPV4:
- private_hint.family = PP_NETADDRESSFAMILY_IPV4;
+ private_hint.family = PP_NETADDRESSFAMILY_PRIVATE_IPV4;
break;
case PP_NETADDRESS_FAMILY_IPV6:
- private_hint.family = PP_NETADDRESSFAMILY_IPV6;
+ private_hint.family = PP_NETADDRESSFAMILY_PRIVATE_IPV6;
break;
default:
NOTREACHED();
- private_hint.family = PP_NETADDRESSFAMILY_UNSPECIFIED;
+ private_hint.family = PP_NETADDRESSFAMILY_PRIVATE_UNSPECIFIED;
}
private_hint.flags = 0;
if (hint.flags & PP_HOSTRESOLVER_FLAG_CANONNAME)
- private_hint.flags |= PP_HOST_RESOLVER_FLAGS_CANONNAME;
+ private_hint.flags |= PP_HOST_RESOLVER_PRIVATE_FLAGS_CANONNAME;
return private_hint;
}
« no previous file with comments | « ppapi/cpp/private/net_address_private.cc ('k') | ppapi/proxy/ppapi_messages.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698