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

Unified Diff: ppapi/shared_impl/private/ppb_host_resolver_shared.h

Issue 10309002: Reimplements net::AddressList without struct addrinfo. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: get_canonical_name -> canonical_name. iterator to indexing Created 8 years, 7 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
Index: ppapi/shared_impl/private/ppb_host_resolver_shared.h
diff --git a/ppapi/shared_impl/private/ppb_host_resolver_shared.h b/ppapi/shared_impl/private/ppb_host_resolver_shared.h
index a0b080fe593410868fc02ce1dc297583fd9b1afa..7a5404f2c33020cc64ffbfa5fc982c8d33c1690c 100644
--- a/ppapi/shared_impl/private/ppb_host_resolver_shared.h
+++ b/ppapi/shared_impl/private/ppb_host_resolver_shared.h
@@ -15,7 +15,9 @@
#include "ppapi/shared_impl/tracked_callback.h"
#include "ppapi/thunk/ppb_host_resolver_private_api.h"
-struct addrinfo;
+namespace net {
+class AddressList;
+}
namespace ppapi {
@@ -27,7 +29,7 @@ struct HostPortPair {
typedef std::vector<PP_NetAddress_Private> NetAddressList;
PPAPI_SHARED_EXPORT NetAddressList*
- CreateNetAddressListFromAddrInfo(const addrinfo* ai);
+ CreateNetAddressListFromAddressList(const net::AddressList& list);
class PPAPI_SHARED_EXPORT PPB_HostResolver_Shared
: public thunk::PPB_HostResolver_Private_API,
« no previous file with comments | « ppapi/shared_impl/private/net_address_private_impl.cc ('k') | ppapi/shared_impl/private/ppb_host_resolver_shared.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698