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

Unified Diff: net/socket/socket_test_util.h

Issue 10309002: Reimplements net::AddressList without struct addrinfo. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Make inheritance private in AddressList. Fix: MockTCPClientSocket, redefined symbols on MSVS2010. 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/socket_test_util.h
diff --git a/net/socket/socket_test_util.h b/net/socket/socket_test_util.h
index d54e2ac5ac141230c75bee9a4f102c7d4b8835c1..a0d0c65d0fcd0fc7bda5a2b91da9dd878128934a 100644
--- a/net/socket/socket_test_util.h
+++ b/net/socket/socket_test_util.h
@@ -627,7 +627,7 @@ class MockTCPClientSocket : public MockClientSocket, public AsyncSocket {
SocketDataProvider* socket);
virtual ~MockTCPClientSocket();
- AddressList addresses() const { return addresses_; }
+ const AddressList& addresses() const { return addresses_; }
// Socket implementation.
virtual int Read(IOBuffer* buf, int buf_len,

Powered by Google App Engine
This is Rietveld 408576698