| Index: remoting/host/it2me/it2me_host.h
|
| diff --git a/remoting/host/it2me/it2me_host.h b/remoting/host/it2me/it2me_host.h
|
| index 76b6d034b967ec79f8f173d915e3595cba9a0d58..1be4875e215141c261ebed886adde9da1fbf8b08 100644
|
| --- a/remoting/host/it2me/it2me_host.h
|
| +++ b/remoting/host/it2me/it2me_host.h
|
| @@ -32,7 +32,6 @@ class ChromotingHostContext;
|
| class DesktopEnvironmentFactory;
|
| class HostEventLogger;
|
| class HostStatusLogger;
|
| -class PolicyWatcher;
|
| class RegisterSupportHostRequest;
|
| class RsaKeyPair;
|
|
|
| @@ -64,7 +63,6 @@ class It2MeHost : public base::RefCountedThreadSafe<It2MeHost>,
|
| };
|
|
|
| It2MeHost(std::unique_ptr<ChromotingHostContext> context,
|
| - std::unique_ptr<PolicyWatcher> policy_watcher,
|
| std::unique_ptr<It2MeConfirmationDialogFactory> dialog_factory_,
|
| base::WeakPtr<It2MeHost::Observer> observer,
|
| std::unique_ptr<SignalStrategy> signal_strategy,
|
| @@ -98,6 +96,9 @@ class It2MeHost : public base::RefCountedThreadSafe<It2MeHost>,
|
| protocol::ValidatingAuthenticator::ValidationCallback
|
| GetValidationCallbackForTesting();
|
|
|
| + // Called when initial policies are read, and when they change.
|
| + void OnPolicyUpdate(std::unique_ptr<base::DictionaryValue> policies);
|
| +
|
| protected:
|
| friend class base::RefCountedThreadSafe<It2MeHost>;
|
|
|
| @@ -129,12 +130,6 @@ class It2MeHost : public base::RefCountedThreadSafe<It2MeHost>,
|
| const base::TimeDelta& lifetime,
|
| const std::string& error_message);
|
|
|
| - // Called when initial policies are read, and when they change.
|
| - void OnPolicyUpdate(std::unique_ptr<base::DictionaryValue> policies);
|
| -
|
| - // Called when malformed policies are detected.
|
| - void OnPolicyError();
|
| -
|
| // Handlers for NAT traversal and domain policies.
|
| void UpdateNatPolicy(bool nat_traversal_enabled);
|
| void UpdateHostDomainPolicy(const std::string& host_domain);
|
| @@ -166,7 +161,6 @@ class It2MeHost : public base::RefCountedThreadSafe<It2MeHost>,
|
| std::unique_ptr<ChromotingHost> host_;
|
| int failed_login_attempts_ = 0;
|
|
|
| - std::unique_ptr<PolicyWatcher> policy_watcher_;
|
| std::unique_ptr<It2MeConfirmationDialogFactory> confirmation_dialog_factory_;
|
| std::unique_ptr<It2MeConfirmationDialogProxy> confirmation_dialog_proxy_;
|
|
|
|
|