|
Access ChromotingHost::clients_ only on network thread.
Previously ChromotingHost was doing some work on the main thread and
some on the network thread. |clients_| and some other members were
accessed without lock on both of these threads. Moved most of the
ChromotingHost activity to the network thread to avoid possible
race conditions.
BUG= 96325
TEST=Chromoting works
Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=109556
Total comments: 51
Total comments: 4
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+256 lines, -314 lines) |
Patch |
|
M |
remoting/host/chromoting_host.h
|
View
|
1
2
3
|
4 chunks |
+14 lines, -23 lines |
0 comments
|
Download
|
|
M |
remoting/host/chromoting_host.cc
|
View
|
1
2
3
4
|
12 chunks |
+127 lines, -199 lines |
0 comments
|
Download
|
|
M |
remoting/host/chromoting_host_unittest.cc
|
View
|
1
2
3
4
|
6 chunks |
+23 lines, -9 lines |
0 comments
|
Download
|
|
M |
remoting/host/client_session.h
|
View
|
1
2
|
1 chunk |
+0 lines, -2 lines |
0 comments
|
Download
|
|
M |
remoting/host/client_session.cc
|
View
|
1
2
3
|
3 chunks |
+5 lines, -3 lines |
0 comments
|
Download
|
|
M |
remoting/host/client_session_unittest.cc
|
View
|
1
2
3
|
2 chunks |
+8 lines, -1 line |
0 comments
|
Download
|
|
M |
remoting/host/host_status_observer.h
|
View
|
1
|
1 chunk |
+8 lines, -7 lines |
0 comments
|
Download
|
|
M |
remoting/host/plugin/host_script_object.cc
|
View
|
1
2
|
4 chunks |
+22 lines, -4 lines |
0 comments
|
Download
|
|
M |
remoting/host/screen_recorder.h
|
View
|
|
1 chunk |
+0 lines, -4 lines |
0 comments
|
Download
|
|
M |
remoting/host/screen_recorder.cc
|
View
|
1
2
|
2 chunks |
+12 lines, -34 lines |
0 comments
|
Download
|
|
M |
remoting/host/screen_recorder_unittest.cc
|
View
|
1
2
3
|
2 chunks |
+10 lines, -1 line |
0 comments
|
Download
|
|
M |
remoting/protocol/connection_to_client.h
|
View
|
1
2
|
1 chunk |
+1 line, -4 lines |
0 comments
|
Download
|
|
M |
remoting/protocol/connection_to_client.cc
|
View
|
1
2
3
|
2 chunks |
+14 lines, -11 lines |
0 comments
|
Download
|
|
M |
remoting/protocol/connection_to_client_unittest.cc
|
View
|
1
2
3
|
2 chunks |
+5 lines, -8 lines |
0 comments
|
Download
|
|
M |
remoting/protocol/jingle_session_manager.cc
|
View
|
3
|
2 chunks |
+2 lines, -4 lines |
0 comments
|
Download
|
|
M |
remoting/protocol/session.h
|
View
|
1
2
|
1 chunk |
+5 lines, -0 lines |
0 comments
|
Download
|
Total messages: 8 (0 generated)
|