Index: remoting/host/it2me/it2me_native_messaging_host_unittest.cc |
diff --git a/remoting/host/it2me/it2me_native_messaging_host_unittest.cc b/remoting/host/it2me/it2me_native_messaging_host_unittest.cc |
index 072bfb6d2a8ce15b36559c4b8b33b92b0d30f74b..382587b2196a96f37f1379e36d2511c50be2d857 100644 |
--- a/remoting/host/it2me/it2me_native_messaging_host_unittest.cc |
+++ b/remoting/host/it2me/it2me_native_messaging_host_unittest.cc |
@@ -125,13 +125,11 @@ void FakePolicyService::RefreshPolicies(const base::Closure& callback) { |
class MockIt2MeHost : public It2MeHost { |
public: |
MockIt2MeHost(std::unique_ptr<ChromotingHostContext> context, |
- std::unique_ptr<PolicyWatcher> policy_watcher, |
base::WeakPtr<It2MeHost::Observer> observer, |
std::unique_ptr<SignalStrategy> signal_strategy, |
const std::string& username, |
const std::string& directory_bot_jid) |
: It2MeHost(std::move(context), |
- std::move(policy_watcher), |
/*confirmation_dialog_factory=*/nullptr, |
observer, |
std::move(signal_strategy), |
@@ -229,8 +227,7 @@ scoped_refptr<It2MeHost> MockIt2MeHostFactory::CreateIt2MeHost( |
std::unique_ptr<SignalStrategy> signal_strategy, |
const std::string& username, |
const std::string& directory_bot_jid) { |
- return new MockIt2MeHost(std::move(context), |
- /*policy_watcher=*/nullptr, observer, |
+ return new MockIt2MeHost(std::move(context), observer, |
std::move(signal_strategy), username, |
directory_bot_jid); |
} |