diff options
author | viettrungluu@chromium.org <viettrungluu@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-11-10 01:03:07 +0000 |
---|---|---|
committer | viettrungluu@chromium.org <viettrungluu@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-11-10 01:03:07 +0000 |
commit | 289dd736363cb662bd95b166de1fb3870b306b06 (patch) | |
tree | 9c29fb04777ee0c566b970ac739f072b6755463d /ppapi/cpp | |
parent | e365b3fa15ed92e2ef917095a25aef698d799ff7 (diff) | |
download | chromium_src-289dd736363cb662bd95b166de1fb3870b306b06.zip chromium_src-289dd736363cb662bd95b166de1fb3870b306b06.tar.gz chromium_src-289dd736363cb662bd95b166de1fb3870b306b06.tar.bz2 |
pp::NetAddress -> pp::NetAddressPrivate.
Oops.
TBR=dmichael
Review URL: http://codereview.chromium.org/8497058
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@109353 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'ppapi/cpp')
-rw-r--r-- | ppapi/cpp/private/net_address_private.cc | 21 | ||||
-rw-r--r-- | ppapi/cpp/private/net_address_private.h | 2 |
2 files changed, 12 insertions, 11 deletions
diff --git a/ppapi/cpp/private/net_address_private.cc b/ppapi/cpp/private/net_address_private.cc index 6b844da..fbae2b8 100644 --- a/ppapi/cpp/private/net_address_private.cc +++ b/ppapi/cpp/private/net_address_private.cc @@ -21,16 +21,16 @@ template <> const char* interface_name<PPB_NetAddress_Private>() { } // namespace // static -bool NetAddress::AreEqual(const PP_NetAddress_Private& addr1, - const PP_NetAddress_Private& addr2) { +bool NetAddressPrivate::AreEqual(const PP_NetAddress_Private& addr1, + const PP_NetAddress_Private& addr2) { if (!has_interface<PPB_NetAddress_Private>()) return false; return !!get_interface<PPB_NetAddress_Private>()->AreEqual(&addr1, &addr2); } // static -bool NetAddress::AreHostsEqual(const PP_NetAddress_Private& addr1, - const PP_NetAddress_Private& addr2) { +bool NetAddressPrivate::AreHostsEqual(const PP_NetAddress_Private& addr1, + const PP_NetAddress_Private& addr2) { if (!has_interface<PPB_NetAddress_Private>()) return false; return !!get_interface<PPB_NetAddress_Private>()->AreHostsEqual(&addr1, @@ -38,8 +38,8 @@ bool NetAddress::AreHostsEqual(const PP_NetAddress_Private& addr1, } // static -std::string NetAddress::Describe(const PP_NetAddress_Private& addr, - bool include_port) { +std::string NetAddressPrivate::Describe(const PP_NetAddress_Private& addr, + bool include_port) { if (!has_interface<PPB_NetAddress_Private>()) return std::string(); @@ -56,9 +56,9 @@ std::string NetAddress::Describe(const PP_NetAddress_Private& addr, } // static -bool NetAddress::ReplacePort(const PP_NetAddress_Private& addr_in, - uint16_t port, - PP_NetAddress_Private* addr_out) { +bool NetAddressPrivate::ReplacePort(const PP_NetAddress_Private& addr_in, + uint16_t port, + PP_NetAddress_Private* addr_out) { if (!has_interface<PPB_NetAddress_Private>()) return false; return !!get_interface<PPB_NetAddress_Private>()->ReplacePort(&addr_in, @@ -67,7 +67,8 @@ bool NetAddress::ReplacePort(const PP_NetAddress_Private& addr_in, } // static -void NetAddress::GetAnyAddress(bool is_ipv6, PP_NetAddress_Private* addr) { +void NetAddressPrivate::GetAnyAddress(bool is_ipv6, + PP_NetAddress_Private* addr) { if (!has_interface<PPB_NetAddress_Private>()) return; get_interface<PPB_NetAddress_Private>()->GetAnyAddress(PP_FromBool(is_ipv6), diff --git a/ppapi/cpp/private/net_address_private.h b/ppapi/cpp/private/net_address_private.h index cc60a1b..21c378a 100644 --- a/ppapi/cpp/private/net_address_private.h +++ b/ppapi/cpp/private/net_address_private.h @@ -13,7 +13,7 @@ struct PP_NetAddress_Private; namespace pp { -class NetAddress { +class NetAddressPrivate { public: static bool AreEqual(const PP_NetAddress_Private& addr1, const PP_NetAddress_Private& addr2); |