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

Unified Diff: net/base/ip_address.h

Issue 1769783002: Migrate net::IPAddressList to net::IPAddress. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 9 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 | « net/base/address_list_unittest.cc ('k') | net/base/ip_address_number.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/base/ip_address.h
diff --git a/net/base/ip_address.h b/net/base/ip_address.h
index 2fb54b40adf258cd4914eff447a249e9095ac086..54a0c2e9e7a2e73fb9ee1cf56f0f0b1321673b52 100644
--- a/net/base/ip_address.h
+++ b/net/base/ip_address.h
@@ -105,6 +105,8 @@ class NET_EXPORT IPAddress {
// This class is copyable and assignable.
};
+typedef std::vector<IPAddress> IPAddressList;
eroman 2016/03/08 21:04:03 Please use the new C++ way: using IPAddressList =
martijnc 2016/03/09 16:44:27 Done.
+
// TODO(Martijnc): These utility functions currently forward the calls to
// the IPAddressNumber implementations. Move the implementations over when
// the IPAddressNumber migration is complete. https://crbug.com/496258.
« no previous file with comments | « net/base/address_list_unittest.cc ('k') | net/base/ip_address_number.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698