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

Unified Diff: net/base/address_list.h

Issue 2083463002: Replace //net TypeConverters with StructTraits. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@type-converter-cleanup--gurl
Patch Set: rebase Created 4 years, 2 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: net/base/address_list.h
diff --git a/net/base/address_list.h b/net/base/address_list.h
index d2a13abc9111804e0a1f24e989d1277bf3bea6d7..9b4a67418565cd951c3101ffab301d20f4c60bc7 100644
--- a/net/base/address_list.h
+++ b/net/base/address_list.h
@@ -82,6 +82,9 @@ class NET_EXPORT AddressList {
iterator end() { return endpoints_.end(); }
const_iterator end() const { return endpoints_.end(); }
+ const std::vector<net::IPEndPoint>& endpoints() const { return endpoints_; }
+ std::vector<net::IPEndPoint>& endpoints() { return endpoints_; }
+
private:
std::vector<IPEndPoint> endpoints_;
// TODO(szym): Remove. http://crbug.com/126134
« no previous file with comments | « net/BUILD.gn ('k') | net/dns/OWNERS » ('j') | net/dns/mojo_host_resolver_impl.h » ('J')

Powered by Google App Engine
This is Rietveld 408576698