Chromium Code Reviews| Index: remoting/test/host_info.h |
| diff --git a/remoting/test/host_info.h b/remoting/test/host_info.h |
| index 06348fba735bdd59cb109f07e966068e27945195..b8347b4b94cc774d4ceb4405118ce145c98cd62e 100644 |
| --- a/remoting/test/host_info.h |
| +++ b/remoting/test/host_info.h |
| @@ -9,6 +9,7 @@ |
| #include <vector> |
| #include "base/values.h" |
| +#include "remoting/test/connection_setup_info.h" |
| namespace remoting { |
| namespace test { |
| @@ -24,6 +25,15 @@ struct HostInfo { |
| bool ParseHostInfo(const base::DictionaryValue& host_info); |
| + // Returns true if the remote host is ready to accept connections. |
|
joedow
2015/07/17 23:26:30
remote host or chromoting host? Since this is a h
tonychun
2015/07/20 14:29:17
Done.
|
| + bool IsReadyForConnection() const; |
| + |
| + // Generates connection information to establish a chromoting connection. |
| + ConnectionSetupInfo GenerateConnectionSetupInfo( |
| + const std::string& access_token, |
| + const std::string& user_name, |
| + const std::string& pin) const; |
| + |
| std::string host_id; |
| std::string host_jid; |
| std::string host_name; |