| 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 #include "remoting/client/ios/facade/host_info.h" | 5 #include "remoting/ios/facade/host_info.h" |
| 6 | 6 |
| 7 #include "base/logging.h" | 7 #include "base/logging.h" |
| 8 | 8 |
| 9 namespace remoting { | 9 namespace remoting { |
| 10 | 10 |
| 11 HostInfo::HostInfo() {} | 11 HostInfo::HostInfo() {} |
| 12 | 12 |
| 13 HostInfo::HostInfo(const HostInfo& other) = default; | 13 HostInfo::HostInfo(const HostInfo& other) = default; |
| 14 | 14 |
| 15 HostInfo::~HostInfo() {} | 15 HostInfo::~HostInfo() {} |
| (...skipping 51 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 67 host_info.GetString("hostOfflineReason", &offline_reason); | 67 host_info.GetString("hostOfflineReason", &offline_reason); |
| 68 | 68 |
| 69 return true; | 69 return true; |
| 70 } | 70 } |
| 71 | 71 |
| 72 bool HostInfo::IsReadyForConnection() const { | 72 bool HostInfo::IsReadyForConnection() const { |
| 73 return !host_jid.empty() && status == kHostStatusOnline; | 73 return !host_jid.empty() && status == kHostStatusOnline; |
| 74 } | 74 } |
| 75 | 75 |
| 76 } // namespace remoting | 76 } // namespace remoting |
| OLD | NEW |