|
Move remoting-specific adapters from jingle/glue to remoting/protocol
PseudoTcpAdapter and ChannelSocketAdapter are used only in remoting, so
remoting/protocol is a better place for them.
This change also includes two very minor cleanups in the moved code:
1. scoped_ptr<> is used to pass socket ownership in PseudoTcpAdapter
2. base::ThreadCheker is now used to check threads in
ChannelSocketAdapter instead of base::MessageLoop::current().
Committed: https://crrev.com/031ce3b33ef0970136c157a35605d8c2917d58e8
Cr-Commit-Position: refs/heads/master@{#337432}
Total comments: 5
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+85 lines, -1658 lines) |
Patch |
 |
M |
jingle/BUILD.gn
|
View
|
1
2
|
2 chunks |
+0 lines, -2 lines |
0 comments
|
Download
|
 |
D |
jingle/glue/channel_socket_adapter.h
|
View
|
|
1 chunk |
+0 lines, -86 lines |
0 comments
|
Download
|
 |
D |
jingle/glue/channel_socket_adapter.cc
|
View
|
|
1 chunk |
+0 lines, -200 lines |
0 comments
|
Download
|
 |
D |
jingle/glue/channel_socket_adapter_unittest.cc
|
View
|
|
1 chunk |
+0 lines, -138 lines |
0 comments
|
Download
|
 |
D |
jingle/glue/pseudotcp_adapter.h
|
View
|
|
1 chunk |
+0 lines, -97 lines |
0 comments
|
Download
|
 |
D |
jingle/glue/pseudotcp_adapter.cc
|
View
|
|
1 chunk |
+0 lines, -606 lines |
0 comments
|
Download
|
 |
D |
jingle/glue/pseudotcp_adapter_unittest.cc
|
View
|
|
1 chunk |
+0 lines, -444 lines |
0 comments
|
Download
|
 |
M |
jingle/jingle.gyp
|
View
|
1
2
3
|
2 chunks |
+0 lines, -2 lines |
0 comments
|
Download
|
 |
M |
jingle/jingle.gypi
|
View
|
|
1 chunk |
+0 lines, -4 lines |
0 comments
|
Download
|
 |
M |
remoting/protocol/BUILD.gn
|
View
|
1
2
|
2 chunks |
+2 lines, -0 lines |
0 comments
|
Download
|
 |
A + |
remoting/protocol/channel_socket_adapter.h
|
View
|
1
|
4 chunks |
+15 lines, -15 lines |
0 comments
|
Download
|
 |
A + |
remoting/protocol/channel_socket_adapter.cc
|
View
|
|
7 chunks |
+15 lines, -15 lines |
0 comments
|
Download
|
 |
A + |
remoting/protocol/channel_socket_adapter_unittest.cc
|
View
|
|
3 chunks |
+7 lines, -4 lines |
0 comments
|
Download
|
 |
M |
remoting/protocol/libjingle_transport_factory.cc
|
View
|
|
3 chunks |
+5 lines, -5 lines |
0 comments
|
Download
|
 |
A + |
remoting/protocol/pseudotcp_adapter.h
|
View
|
|
4 chunks |
+9 lines, -9 lines |
0 comments
|
Download
|
 |
A + |
remoting/protocol/pseudotcp_adapter.cc
|
View
|
|
6 chunks |
+12 lines, -11 lines |
0 comments
|
Download
|
 |
A + |
remoting/protocol/pseudotcp_adapter_unittest.cc
|
View
|
|
5 chunks |
+10 lines, -15 lines |
0 comments
|
Download
|
 |
M |
remoting/protocol/pseudotcp_channel_factory.cc
|
View
|
|
2 chunks |
+2 lines, -3 lines |
0 comments
|
Download
|
 |
M |
remoting/remoting_srcs.gypi
|
View
|
|
2 chunks |
+4 lines, -0 lines |
0 comments
|
Download
|
 |
M |
remoting/remoting_test.gypi
|
View
|
1
2
3
|
3 chunks |
+4 lines, -2 lines |
0 comments
|
Download
|
Total messages: 14 (5 generated)
|