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

Unified Diff: net/base/address_list.h

Issue 7008021: Added DnsQuery class (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 9 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
« no previous file with comments | « no previous file | net/base/address_list.cc » ('j') | net/base/dns_query.h » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/base/address_list.h
diff --git a/net/base/address_list.h b/net/base/address_list.h
index e29e34b111d8bec65a643a2cfa49c49d8e514b60..840bc515867a472c5f5f52aaf62a2572b4aa192a 100644
--- a/net/base/address_list.h
+++ b/net/base/address_list.h
@@ -28,6 +28,11 @@ class NET_API AddressList {
~AddressList();
AddressList& operator=(const AddressList& addresslist);
+ // Creates an address list for a list of IP literals.
+ static AddressList CreateFromIPAddressList(
+ const std::vector<IPAddressNumber>& addresses,
+ uint16 port);
+
// Creates an address list for a single IP literal.
static AddressList CreateFromIPAddress(
const IPAddressNumber& address,
« no previous file with comments | « no previous file | net/base/address_list.cc » ('j') | net/base/dns_query.h » ('J')

Powered by Google App Engine
This is Rietveld 408576698