| Index: remoting/host/it2me/it2me_host.cc
|
| diff --git a/remoting/host/it2me/it2me_host.cc b/remoting/host/it2me/it2me_host.cc
|
| index eb13e47fa9666b4cce59691af08b4417a26aa62d..fbd9858bea9b1bd68dec964290316a1093e83e6a 100644
|
| --- a/remoting/host/it2me/it2me_host.cc
|
| +++ b/remoting/host/it2me/it2me_host.cc
|
| @@ -8,6 +8,7 @@
|
| #include "base/strings/string_util.h"
|
| #include "base/threading/platform_thread.h"
|
| #include "net/socket/client_socket_factory.h"
|
| +#include "policy/policy_constants.h"
|
| #include "remoting/base/auto_thread.h"
|
| #include "remoting/base/logging.h"
|
| #include "remoting/base/rsa_key_pair.h"
|
| @@ -323,13 +324,12 @@ void It2MeHost::OnPolicyUpdate(scoped_ptr<base::DictionaryValue> policies) {
|
| }
|
|
|
| bool nat_policy;
|
| - if (policies->GetBoolean(policy_hack::PolicyWatcher::kNatPolicyName,
|
| + if (policies->GetBoolean(policy::key::kRemoteAccessHostFirewallTraversal,
|
| &nat_policy)) {
|
| UpdateNatPolicy(nat_policy);
|
| }
|
| std::string host_domain;
|
| - if (policies->GetString(policy_hack::PolicyWatcher::kHostDomainPolicyName,
|
| - &host_domain)) {
|
| + if (policies->GetString(policy::key::kRemoteAccessHostDomain, &host_domain)) {
|
| UpdateHostDomainPolicy(host_domain);
|
| }
|
|
|
|
|