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

Side by Side Diff: remoting/test/host_info.cc

Issue 1237093004: Support for connecting to localhost on the chromoting test driver. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 5 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 unified diff | Download patch
OLDNEW
1 // Copyright 2015 The Chromium Authors. All rights reserved. 1 // Copyright 2015 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/test/host_info.h" 5 #include "remoting/test/host_info.h"
6 6
7 #include "base/logging.h" 7 #include "base/logging.h"
8 8
9 namespace remoting { 9 namespace remoting {
10 namespace test { 10 namespace test {
(...skipping 52 matching lines...) Expand 10 before | Expand all | Expand 10 after
63 status == kHostStatusOnline) { 63 status == kHostStatusOnline) {
64 LOG(ERROR) << host_name << " is online but is missing a jabberId"; 64 LOG(ERROR) << host_name << " is online but is missing a jabberId";
65 return false; 65 return false;
66 } 66 }
67 67
68 host_info.GetString("hostOfflineReason", &offline_reason); 68 host_info.GetString("hostOfflineReason", &offline_reason);
69 69
70 return true; 70 return true;
71 } 71 }
72 72
73 bool HostInfo::IsReadyForConnection() const {
74 return status == kHostStatusOnline;
75 }
76
73 } // namespace test 77 } // namespace test
74 } // namespace remoting 78 } // namespace remoting
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698