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

Unified Diff: remoting/host/it2me/it2me_host.h

Issue 2384063008: Enables delegating signal strategy for It2Me Host. (Closed)
Patch Set: Fix typos Created 4 years, 2 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/BUILD.gn ('k') | remoting/host/it2me/it2me_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.h
diff --git a/remoting/host/it2me/it2me_host.h b/remoting/host/it2me/it2me_host.h
index b3989103038923b34cf19657d39c6d2d22766b72..08a2bcedb71bed085e9d473c8a3ac49a1c08cf40 100644
--- a/remoting/host/it2me/it2me_host.h
+++ b/remoting/host/it2me/it2me_host.h
@@ -67,7 +67,8 @@ class It2MeHost : public base::RefCountedThreadSafe<It2MeHost>,
std::unique_ptr<PolicyWatcher> policy_watcher,
std::unique_ptr<It2MeConfirmationDialog> confirmation_dialog,
base::WeakPtr<It2MeHost::Observer> observer,
- const XmppSignalStrategy::XmppServerConfig& xmpp_server_config,
+ std::unique_ptr<SignalStrategy> signal_strategy,
+ const std::string& username,
const std::string& directory_bot_jid);
// Methods called by the script object, from the plugin thread.
@@ -155,13 +156,13 @@ class It2MeHost : public base::RefCountedThreadSafe<It2MeHost>,
// Caller supplied fields.
std::unique_ptr<ChromotingHostContext> host_context_;
base::WeakPtr<It2MeHost::Observer> observer_;
- XmppSignalStrategy::XmppServerConfig xmpp_server_config_;
+ std::unique_ptr<SignalStrategy> signal_strategy_;
+ std::string username_;
std::string directory_bot_jid_;
It2MeHostState state_ = kDisconnected;
scoped_refptr<RsaKeyPair> host_key_pair_;
- std::unique_ptr<SignalStrategy> signal_strategy_;
std::unique_ptr<RegisterSupportHostRequest> register_request_;
std::unique_ptr<HostStatusLogger> host_status_logger_;
std::unique_ptr<DesktopEnvironmentFactory> desktop_environment_factory_;
@@ -215,7 +216,8 @@ class It2MeHostFactory {
std::unique_ptr<ChromotingHostContext> context,
policy::PolicyService* policy_service,
base::WeakPtr<It2MeHost::Observer> observer,
- const XmppSignalStrategy::XmppServerConfig& xmpp_server_config,
+ std::unique_ptr<SignalStrategy> signal_strategy,
+ const std::string& username,
const std::string& directory_bot_jid);
private:
« no previous file with comments | « remoting/host/it2me/BUILD.gn ('k') | remoting/host/it2me/it2me_host.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698