Index: remoting/android/java/src/org/chromium/chromoting/HostInfo.java |
diff --git a/remoting/android/java/src/org/chromium/chromoting/HostInfo.java b/remoting/android/java/src/org/chromium/chromoting/HostInfo.java |
new file mode 100644 |
index 0000000000000000000000000000000000000000..229764ff24f7fd421b7f9ed1d219549c8b3168e7 |
--- /dev/null |
+++ b/remoting/android/java/src/org/chromium/chromoting/HostInfo.java |
@@ -0,0 +1,22 @@ |
+// Copyright 2014 The Chromium Authors. All rights reserved. |
+// Use of this source code is governed by a BSD-style license that can be |
+// found in the LICENSE file. |
+ |
+package org.chromium.chromoting; |
+ |
+/** Class to represent a Host returned by {@link HostListLoader}. */ |
+public class HostInfo { |
+ public final String name; |
+ public final String id; |
+ public final String jabberId; |
+ public final String publicKey; |
+ public final boolean isOnline; |
+ |
+ public HostInfo(String name, String id, String jabberId, String publicKey, boolean isOnline) { |
+ this.name = name; |
+ this.id = id; |
+ this.jabberId = jabberId; |
+ this.publicKey = publicKey; |
+ this.isOnline = isOnline; |
+ } |
+} |