| OLD | NEW |
| 1 // Copyright 2017 The Chromium Authors. All rights reserved. | 1 // Copyright 2017 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 #ifndef REMOTING_IOS_FACADE_HOST_INFO_H_ | 5 #ifndef REMOTING_IOS_FACADE_HOST_INFO_H_ |
| 6 #define REMOTING_IOS_FACADE_HOST_INFO_H_ | 6 #define REMOTING_IOS_FACADE_HOST_INFO_H_ |
| 7 | 7 |
| 8 #include <string> | 8 #include <string> |
| 9 #include <vector> | 9 #include <vector> |
| 10 | 10 |
| (...skipping 12 matching lines...) Expand all Loading... |
| 23 | 23 |
| 24 // Returns true if |host_info| is valid and initializes HostInfo. | 24 // Returns true if |host_info| is valid and initializes HostInfo. |
| 25 bool ParseHostInfo(const base::DictionaryValue& host_info); | 25 bool ParseHostInfo(const base::DictionaryValue& host_info); |
| 26 | 26 |
| 27 // Returns true if the chromoting host is ready to accept connections. | 27 // Returns true if the chromoting host is ready to accept connections. |
| 28 bool IsReadyForConnection() const; | 28 bool IsReadyForConnection() const; |
| 29 | 29 |
| 30 std::string host_id; | 30 std::string host_id; |
| 31 std::string host_jid; | 31 std::string host_jid; |
| 32 std::string host_name; | 32 std::string host_name; |
| 33 std::string host_os; |
| 34 std::string host_os_version; |
| 35 std::string host_version; |
| 33 HostStatus status = kHostStatusOffline; | 36 HostStatus status = kHostStatusOffline; |
| 34 std::string offline_reason; | 37 std::string offline_reason; |
| 35 std::string public_key; | 38 std::string public_key; |
| 36 std::vector<std::string> token_url_patterns; | 39 std::vector<std::string> token_url_patterns; |
| 37 }; | 40 }; |
| 38 | 41 |
| 39 } // namespace remoting | 42 } // namespace remoting |
| 40 | 43 |
| 41 #endif // REMOTING_IOS_FACADE_HOST_INFO_H_ | 44 #endif // REMOTING_IOS_FACADE_HOST_INFO_H_ |
| OLD | NEW |