|
Refactor the daemon controller so that the callbacks are called on the caller thread.
This CL switches DaemonController to the same model that is used by PairingRegistry. DaemonController becomes a ref-counted object responsible for dispatching calls between threads. Platform-specific logic is implemented in non thread-safe delegate class. Most of the delegate's methods are synchronous and are running on a backgorund thread.
BUG= 173509
Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=222162
Total comments: 22
Total comments: 2
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+1122 lines, -2396 lines) |
Patch |
 |
M |
remoting/host/plugin/host_script_object.h
|
View
|
|
2 chunks |
+4 lines, -5 lines |
0 comments
|
Download
|
 |
M |
remoting/host/plugin/host_script_object.cc
|
View
|
|
12 chunks |
+10 lines, -48 lines |
0 comments
|
Download
|
 |
M |
remoting/host/setup/daemon_controller.h
|
View
|
|
4 chunks |
+133 lines, -22 lines |
0 comments
|
Download
|
 |
A |
remoting/host/setup/daemon_controller.cc
|
View
|
1
|
1 chunk |
+241 lines, -0 lines |
0 comments
|
Download
|
 |
A |
remoting/host/setup/daemon_controller_delegate_linux.h
|
View
|
1
|
1 chunk |
+39 lines, -0 lines |
0 comments
|
Download
|
 |
A + |
remoting/host/setup/daemon_controller_delegate_linux.cc
|
View
|
1
|
11 chunks |
+73 lines, -147 lines |
0 comments
|
Download
|
 |
A |
remoting/host/setup/daemon_controller_delegate_mac.h
|
View
|
1
2
3
|
1 chunk |
+56 lines, -0 lines |
0 comments
|
Download
|
 |
A + |
remoting/host/setup/daemon_controller_delegate_mac.mm
|
View
|
1
2
|
7 chunks |
+145 lines, -228 lines |
0 comments
|
Download
|
 |
A |
remoting/host/setup/daemon_controller_delegate_win.h
|
View
|
|
1 chunk |
+81 lines, -0 lines |
0 comments
|
Download
|
 |
A + |
remoting/host/setup/daemon_controller_delegate_win.cc
|
View
|
1
|
7 chunks |
+238 lines, -450 lines |
0 comments
|
Download
|
 |
D |
remoting/host/setup/daemon_controller_linux.cc
|
View
|
|
1 chunk |
+0 lines, -371 lines |
0 comments
|
Download
|
 |
D |
remoting/host/setup/daemon_controller_mac.mm
|
View
|
|
1 chunk |
+0 lines, -378 lines |
0 comments
|
Download
|
 |
D |
remoting/host/setup/daemon_controller_win.cc
|
View
|
|
1 chunk |
+0 lines, -668 lines |
0 comments
|
Download
|
 |
M |
remoting/host/setup/host_starter.h
|
View
|
|
3 chunks |
+3 lines, -2 lines |
0 comments
|
Download
|
 |
M |
remoting/host/setup/host_starter.cc
|
View
|
|
2 chunks |
+4 lines, -4 lines |
0 comments
|
Download
|
 |
M |
remoting/host/setup/native_messaging_host.h
|
View
|
|
3 chunks |
+5 lines, -6 lines |
0 comments
|
Download
|
 |
M |
remoting/host/setup/native_messaging_host.cc
|
View
|
|
8 chunks |
+12 lines, -16 lines |
0 comments
|
Download
|
 |
M |
remoting/host/setup/native_messaging_host_unittest.cc
|
View
|
|
6 chunks |
+71 lines, -48 lines |
0 comments
|
Download
|
 |
M |
remoting/remoting.gyp
|
View
|
1
|
1 chunk |
+7 lines, -3 lines |
0 comments
|
Download
|
Total messages: 13 (0 generated)
|