|
Refactor TCPListenSocket.
This is part of Chrome for Android upstreaming.
This CL adds a common base class, StreamListenSocket, providing a default implementation inherited by TCPListenSocket and the upcoming UnixDomainSocket.
That lets us share the common code used by both TCPListenSocket and UnixDomainSocket.
This also removes the recently introduced ListenSocket class which is unnecessary now we have StreamListenSocket.
TEST=net_unittests
Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=137387
Total comments: 1
Total comments: 30
Total comments: 14
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+401 lines, -768 lines) |
Patch |
 |
M |
chrome_frame/test/test_server.h
|
View
|
1
2
3
4
5
6
7
|
14 chunks |
+33 lines, -26 lines |
0 comments
|
Download
|
 |
M |
chrome_frame/test/test_server.cc
|
View
|
1
2
3
|
9 chunks |
+20 lines, -14 lines |
0 comments
|
Download
|
 |
M |
chrome_frame/test/test_with_web_server.cc
|
View
|
1
2
3
4
5
6
7
8
|
3 chunks |
+3 lines, -2 lines |
0 comments
|
Download
|
 |
D |
net/base/listen_socket.h
|
View
|
1
2
3
4
5
|
1 chunk |
+0 lines, -64 lines |
0 comments
|
Download
|
 |
D |
net/base/listen_socket.cc
|
View
|
1
2
3
|
1 chunk |
+0 lines, -23 lines |
0 comments
|
Download
|
 |
A |
net/base/stream_listen_socket.h
|
View
|
1
2
3
4
5
6
7
8
|
1 chunk |
+152 lines, -0 lines |
0 comments
|
Download
|
 |
A + |
net/base/stream_listen_socket.cc
|
View
|
1
2
3
4
5
6
7
8
9
10
|
15 chunks |
+67 lines, -108 lines |
0 comments
|
Download
|
 |
M |
net/base/tcp_listen_socket.h
|
View
|
1
2
3
4
5
6
7
8
|
1 chunk |
+9 lines, -94 lines |
0 comments
|
Download
|
 |
M |
net/base/tcp_listen_socket.cc
|
View
|
1
2
3
4
5
6
7
8
9
10
11
|
3 chunks |
+26 lines, -347 lines |
0 comments
|
Download
|
 |
M |
net/base/tcp_listen_socket_unittest.h
|
View
|
1
2
3
4
5
6
7
8
|
4 chunks |
+10 lines, -9 lines |
0 comments
|
Download
|
 |
M |
net/base/tcp_listen_socket_unittest.cc
|
View
|
1
2
3
4
5
6
7
8
|
1 chunk |
+5 lines, -5 lines |
0 comments
|
Download
|
 |
M |
net/net.gyp
|
View
|
1
2
3
4
5
6
7
8
|
2 chunks |
+2 lines, -2 lines |
0 comments
|
Download
|
 |
M |
net/server/http_connection.h
|
View
|
1
2
3
|
2 chunks |
+3 lines, -3 lines |
0 comments
|
Download
|
 |
M |
net/server/http_connection.cc
|
View
|
1
2
3
|
2 chunks |
+2 lines, -2 lines |
0 comments
|
Download
|
 |
M |
net/server/http_server.h
|
View
|
1
2
3
4
5
|
4 chunks |
+9 lines, -8 lines |
0 comments
|
Download
|
 |
M |
net/server/http_server.cc
|
View
|
1
2
3
4
5
|
3 chunks |
+5 lines, -5 lines |
0 comments
|
Download
|
 |
M |
net/socket/transport_client_socket_unittest.cc
|
View
|
1
2
3
4
|
5 chunks |
+10 lines, -9 lines |
0 comments
|
Download
|
 |
M |
net/tools/fetch/http_listen_socket.h
|
View
|
1
2
3
4
|
4 chunks |
+17 lines, -13 lines |
0 comments
|
Download
|
 |
M |
net/tools/fetch/http_listen_socket.cc
|
View
|
1
2
3
4
|
8 chunks |
+27 lines, -32 lines |
0 comments
|
Download
|
 |
M |
net/tools/fetch/http_server.cc
|
View
|
1
2
3
4
|
1 chunk |
+0 lines, -1 line |
0 comments
|
Download
|
 |
M |
net/tools/fetch/http_session.cc
|
View
|
1
2
3
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
Total messages: 29 (0 generated)
|