Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(2057)

Unified Diff: remoting/host/it2me/it2me_host_unittest.cc

Issue 2798393007: Use SignalingAddress in SignalStrategy insterface. (Closed)
Patch Set: header Created 3 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « remoting/host/host_status_logger_unittest.cc ('k') | remoting/host/it2me/it2me_native_messaging_host.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: remoting/host/it2me/it2me_host_unittest.cc
diff --git a/remoting/host/it2me/it2me_host_unittest.cc b/remoting/host/it2me/it2me_host_unittest.cc
index ef11fbd9cf590461b4858d6a4769c78b380a1a7f..22a719a126505d96b08e9b257595b5c39b789612 100644
--- a/remoting/host/it2me/it2me_host_unittest.cc
+++ b/remoting/host/it2me/it2me_host_unittest.cc
@@ -188,11 +188,12 @@ void It2MeHostTest::SetUp() {
std::unique_ptr<FakeIt2MeDialogFactory> dialog_factory(
new FakeIt2MeDialogFactory());
dialog_factory_ = dialog_factory.get();
- it2me_host_ =
- new It2MeHost(std::move(host_context), /*policy_watcher=*/nullptr,
- std::move(dialog_factory), weak_factory_.GetWeakPtr(),
- base::WrapUnique(new FakeSignalStrategy("fake_local_jid")),
- "fake_user_name", "fake_bot_jid");
+ it2me_host_ = new It2MeHost(
+ std::move(host_context), /*policy_watcher=*/nullptr,
+ std::move(dialog_factory), weak_factory_.GetWeakPtr(),
+ base::WrapUnique(
+ new FakeSignalStrategy(SignalingAddress("fake_local_jid"))),
+ "fake_user_name", "fake_bot_jid");
}
void It2MeHostTest::TearDown() {
« no previous file with comments | « remoting/host/host_status_logger_unittest.cc ('k') | remoting/host/it2me/it2me_native_messaging_host.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698