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

Unified Diff: net/socket_stream/socket_stream.h

Issue 10309002: Reimplements net::AddressList without struct addrinfo. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Added missing NET_EXPORT to *PortOnAddressList. Created 8 years, 8 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/socket_stream/socket_stream.h
diff --git a/net/socket_stream/socket_stream.h b/net/socket_stream/socket_stream.h
index 7f071963146d9c026a460e48e84c01794528315a..c9e30f418c96ecf62798fd97384ffa837f26966b 100644
--- a/net/socket_stream/socket_stream.h
+++ b/net/socket_stream/socket_stream.h
@@ -265,9 +265,9 @@ class NET_EXPORT SocketStream
// Use the same number as HttpNetworkTransaction::kMaxHeaderBufSize.
enum { kMaxTunnelResponseHeadersSize = 32768 }; // 32 kilobytes.
- // Copies the given addrinfo list in |addresses_|.
+ // Copies |addresses| to |addresses_|.
// Used for WebSocketThrottleTest.
- void CopyAddrInfo(struct addrinfo* head);
+ void CopyAddressList(const AddressList& addresses);
eroman 2012/05/04 01:08:41 nit: I wander if "set_addresses()" would be more a
szym 2012/05/04 02:38:29 It definitely would. Will fix.
void DoClose();

Powered by Google App Engine
This is Rietveld 408576698