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

Unified Diff: ppapi/cpp/private/net_address_private.h

Issue 9398003: Change PPB_NetAddress_Private.GetFamily to return a PP_AddressFamily_Private value instead of uint1… (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: . 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/c/private/ppb_net_address_private.h ('k') | ppapi/cpp/private/net_address_private.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ppapi/cpp/private/net_address_private.h
diff --git a/ppapi/cpp/private/net_address_private.h b/ppapi/cpp/private/net_address_private.h
index fe4c9a728fa2da4b9de0696975cdb1e027f2c540..c242175a1de57974a45dcbd3240b8ccba37171ff 100644
--- a/ppapi/cpp/private/net_address_private.h
+++ b/ppapi/cpp/private/net_address_private.h
@@ -8,8 +8,7 @@
#include <string>
#include "ppapi/c/pp_stdint.h"
-
-struct PP_NetAddress_Private;
+#include "ppapi/c/private/ppb_net_address_private.h"
namespace pp {
@@ -28,7 +27,8 @@ class NetAddressPrivate {
uint16_t port,
PP_NetAddress_Private* addr_out);
static void GetAnyAddress(bool is_ipv6, PP_NetAddress_Private* addr);
- static uint16_t GetFamily(const PP_NetAddress_Private& addr);
+ static PP_NetAddressFamily_Private GetFamily(
+ const PP_NetAddress_Private& addr);
static uint16_t GetPort(const PP_NetAddress_Private& addr);
static bool GetAddress(const PP_NetAddress_Private& addr,
void* address, uint16_t address_size);
« no previous file with comments | « ppapi/c/private/ppb_net_address_private.h ('k') | ppapi/cpp/private/net_address_private.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698