diff options
author | lukasza <lukasza@chromium.org> | 2015-01-12 11:01:07 -0800 |
---|---|---|
committer | Commit bot <commit-bot@chromium.org> | 2015-01-12 19:02:04 +0000 |
commit | 806efecb817d9a4fd9dfe460b5ce7d132ace615d (patch) | |
tree | 4bd05e3c55e42716a44291c48a849ac0daabaa7f /remoting/remoting_test.gypi | |
parent | 7577c2bcd74153c958cbf96cec26d7006944a907 (diff) | |
download | chromium_src-806efecb817d9a4fd9dfe460b5ce7d132ace615d.zip chromium_src-806efecb817d9a4fd9dfe460b5ce7d132ace615d.tar.gz chromium_src-806efecb817d9a4fd9dfe460b5ce7d132ace615d.tar.bz2 |
Reporting of policy errors via host-offline-reason: part 3
Introducing HostSignalingManager for extending host process's
lifetime while we wait for an ack to host-offline-reason heartbeat.
- HostSignalingManager is needed primarily to control process
lifetime by holding a ref-count to network_task_runner via a field
of HostSignalingManager - network_task_runner (via its
stop/join) callback) keeps a ref-count to the main thread
(ui_task_runner). And main thread / ui_task_runner will keep the
whole process running until its refcount drops to zero.
- Introducing HostSignalingManager also helps take multiple
fields that used to be held by HostProcess and embed/hide those
fields/objects inside HostSignalingManager
- Lifetime of HostSignalingManager is temporarily extended while
we are waiting for a timeout or ack to host-offline-reason
heartbeat.
BUG=410050
Review URL: https://codereview.chromium.org/719983002
Cr-Commit-Position: refs/heads/master@{#311077}
Diffstat (limited to 'remoting/remoting_test.gypi')
-rw-r--r-- | remoting/remoting_test.gypi | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/remoting/remoting_test.gypi b/remoting/remoting_test.gypi index 9b837e1..348aba8 100644 --- a/remoting/remoting_test.gypi +++ b/remoting/remoting_test.gypi @@ -26,7 +26,6 @@ 'host/fake_host_status_monitor.h', 'host/fake_mouse_cursor_monitor.cc', 'host/fake_mouse_cursor_monitor.h', - 'host/mock_callback.h', 'host/policy_hack/fake_policy_watcher.cc', 'host/policy_hack/fake_policy_watcher.h', 'host/policy_hack/mock_policy_callback.cc', |