|
Remove timing limitation to set Broadcast, ReceiveBuffer, and SendBuffer options from UDPSocket.
Currently, we have timing limitation to set these options.
This CL splits Open() from Connect() and Bind(), so that those options can be set anytime after Open().
This is the preparation to remove the same limitation from PPAPI's socket APIs.
BUG= 425563, 420697
TEST=Ran trybots.
Committed: https://crrev.com/17fac55b85211ba10c1bb3bf8a46798bcf0eb729
Cr-Commit-Position: refs/heads/master@{#307204}
Total comments: 4
Total comments: 34
Total comments: 10
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+290 lines, -265 lines) |
Patch |
 |
M |
chrome/browser/extensions/api/cast_streaming/cast_streaming_apitest.cc
|
View
|
1
2
|
2 chunks |
+4 lines, -7 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/extensions/api/cast_streaming/performance_test.cc
|
View
|
1
2
|
2 chunks |
+4 lines, -7 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/extensions/api/dial/dial_service.cc
|
View
|
1
2
|
1 chunk |
+5 lines, -2 lines |
0 comments
|
Download
|
 |
M |
cloud_print/gcp20/prototype/dns_sd_server.h
|
View
|
1
2
|
3 chunks |
+2 lines, -3 lines |
0 comments
|
Download
|
 |
M |
cloud_print/gcp20/prototype/dns_sd_server.cc
|
View
|
1
2
|
3 chunks |
+2 lines, -7 lines |
0 comments
|
Download
|
 |
M |
extensions/browser/api/socket/udp_socket.cc
|
View
|
1
2
|
2 chunks |
+17 lines, -2 lines |
0 comments
|
Download
|
 |
M |
media/cast/net/udp_transport.cc
|
View
|
1
2
3
|
1 chunk |
+8 lines, -3 lines |
0 comments
|
Download
|
 |
M |
media/cast/test/utility/net_utility.cc
|
View
|
1
2
|
2 chunks |
+4 lines, -7 lines |
0 comments
|
Download
|
 |
M |
media/cast/test/utility/udp_proxy.cc
|
View
|
1
2
|
4 chunks |
+4 lines, -7 lines |
0 comments
|
Download
|
 |
M |
net/udp/udp_client_socket.cc
|
View
|
1
2
|
2 chunks |
+4 lines, -0 lines |
0 comments
|
Download
|
 |
M |
net/udp/udp_server_socket.h
|
View
|
1
2
3
|
1 chunk |
+2 lines, -0 lines |
0 comments
|
Download
|
 |
M |
net/udp/udp_server_socket.cc
|
View
|
1
2
3
|
3 chunks |
+26 lines, -3 lines |
0 comments
|
Download
|
 |
M |
net/udp/udp_socket.h
|
View
|
1
2
|
1 chunk |
+8 lines, -6 lines |
0 comments
|
Download
|
 |
M |
net/udp/udp_socket_libevent.h
|
View
|
1
2
3
4
5
|
10 chunks |
+46 lines, -40 lines |
0 comments
|
Download
|
 |
M |
net/udp/udp_socket_libevent.cc
|
View
|
1
2
3
|
8 chunks |
+57 lines, -78 lines |
0 comments
|
Download
|
 |
M |
net/udp/udp_socket_unittest.cc
|
View
|
1
2
|
5 chunks |
+13 lines, -2 lines |
0 comments
|
Download
|
 |
M |
net/udp/udp_socket_win.h
|
View
|
1
2
3
4
5
|
11 chunks |
+39 lines, -36 lines |
0 comments
|
Download
|
 |
M |
net/udp/udp_socket_win.cc
|
View
|
1
2
3
|
9 chunks |
+45 lines, -55 lines |
0 comments
|
Download
|
Total messages: 26 (8 generated)
|