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

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

Issue 2271933002: Updating It2Me to use the new ValidatingAuthenticator class (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@authenticator
Patch Set: Merging upstream changes Created 4 years, 4 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/it2me/it2me_host_unittest.cc ('k') | remoting/protocol/it2me_host_authenticator_factory.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 04273a1d5c145298cfeb6c537f673ae9ce36ae93..af68edc35f21b507288626fc6d56196010be857b 100644
--- a/remoting/host/it2me/it2me_native_messaging_host_unittest.cc
+++ b/remoting/host/it2me/it2me_native_messaging_host_unittest.cc
@@ -4,8 +4,9 @@
#include "remoting/host/it2me/it2me_native_messaging_host.h"
-#include <stdint.h>
-
+#include <cstdint>
+#include <memory>
+#include <string>
#include <utility>
#include "base/compiler_specific.h"
@@ -81,7 +82,7 @@ class MockIt2MeHost : public It2MeHost {
const std::string& directory_bot_jid)
: It2MeHost(std::move(context),
std::move(policy_watcher),
- nullptr,
+ /*confirmation_dialog_factory=*/nullptr,
observer,
xmpp_server_config,
directory_bot_jid) {}
@@ -161,7 +162,8 @@ class MockIt2MeHostFactory : public It2MeHostFactory {
base::WeakPtr<It2MeHost::Observer> observer,
const XmppSignalStrategy::XmppServerConfig& xmpp_server_config,
const std::string& directory_bot_jid) override {
- return new MockIt2MeHost(std::move(context), nullptr, observer,
+ return new MockIt2MeHost(std::move(context),
+ /*confirmation_dialog_factory=*/nullptr, observer,
xmpp_server_config, directory_bot_jid);
}
« no previous file with comments | « remoting/host/it2me/it2me_host_unittest.cc ('k') | remoting/protocol/it2me_host_authenticator_factory.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698