| Index: remoting/host/it2me/it2me_host.cc
|
| diff --git a/remoting/host/it2me/it2me_host.cc b/remoting/host/it2me/it2me_host.cc
|
| index b9a17f8c9431b159fddbcd15a586eb438b315995..5d9860b963b914ef41e87a83fe9bc91083c60e43 100644
|
| --- a/remoting/host/it2me/it2me_host.cc
|
| +++ b/remoting/host/it2me/it2me_host.cc
|
| @@ -70,7 +70,8 @@ void It2MeHost::Connect() {
|
| policy_watcher_.reset(
|
| policy_hack::PolicyWatcher::Create(host_context_->network_task_runner()));
|
| policy_watcher_->StartWatching(
|
| - base::Bind(&It2MeHost::OnPolicyUpdate, this));
|
| + base::Bind(&It2MeHost::OnPolicyUpdate, this),
|
| + base::Bind(&It2MeHost::OnPolicyError, this));
|
|
|
| // Switch to the network thread to start the actual connection.
|
| host_context_->network_task_runner()->PostTask(
|
| @@ -332,6 +333,11 @@ void It2MeHost::OnPolicyUpdate(scoped_ptr<base::DictionaryValue> policies) {
|
| }
|
| }
|
|
|
| +void It2MeHost::OnPolicyError() {
|
| + // TODO(lukasza): Report the policy error to the user. crbug.com/433009
|
| + NOTIMPLEMENTED();
|
| +}
|
| +
|
| void It2MeHost::UpdateNatPolicy(bool nat_traversal_enabled) {
|
| DCHECK(host_context_->network_task_runner()->BelongsToCurrentThread());
|
|
|
|
|