|
|
Replace ScopedThreadProxy with MessageLoopProxy & WeakPtrs.
This affects the following classes:
* ChromotingClient
* ChromotingInstance
* HostUserInterface
* It2MeHostUserInterface
The MessageLoopProxy/WeakPtr combination requires that the WeakPtr is created on the thread referred to by the proxy; code in which that is hard to arrange usually has subtle race-conditions.
TEST=Existing unit-tests, and manual testing.
Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=139623
Total comments: 16
Total comments: 5
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+84 lines, -244 lines) |
Patch |
 |
D |
remoting/base/scoped_thread_proxy.h
|
View
|
|
1 chunk |
+0 lines, -73 lines |
0 comments
|
Download
|
 |
D |
remoting/base/scoped_thread_proxy.cc
|
View
|
|
1 chunk |
+0 lines, -86 lines |
0 comments
|
Download
|
 |
M |
remoting/client/chromoting_client.h
|
View
|
|
2 chunks |
+4 lines, -2 lines |
0 comments
|
Download
|
 |
M |
remoting/client/chromoting_client.cc
|
View
|
1
2
|
6 chunks |
+9 lines, -6 lines |
0 comments
|
Download
|
 |
M |
remoting/client/plugin/chromoting_instance.h
|
View
|
|
2 chunks |
+1 line, -2 lines |
0 comments
|
Download
|
 |
M |
remoting/client/plugin/chromoting_instance.cc
|
View
|
1
2
|
8 chunks |
+29 lines, -28 lines |
0 comments
|
Download
|
 |
M |
remoting/host/desktop_environment.h
|
View
|
|
1 chunk |
+0 lines, -1 line |
0 comments
|
Download
|
 |
M |
remoting/host/host_user_interface.h
|
View
|
1
|
2 chunks |
+5 lines, -3 lines |
0 comments
|
Download
|
 |
M |
remoting/host/host_user_interface.cc
|
View
|
1
|
6 chunks |
+18 lines, -12 lines |
0 comments
|
Download
|
 |
M |
remoting/host/it2me_host_user_interface.h
|
View
|
1
|
2 chunks |
+4 lines, -2 lines |
0 comments
|
Download
|
 |
M |
remoting/host/it2me_host_user_interface.cc
|
View
|
1
|
4 chunks |
+14 lines, -27 lines |
0 comments
|
Download
|
 |
M |
remoting/remoting.gyp
|
View
|
1
2
|
1 chunk |
+0 lines, -2 lines |
0 comments
|
Download
|
Total messages: 9 (0 generated)
|