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

Unified Diff: remoting/android/java/src/org/chromium/chromoting/HostInfo.java

Issue 157013002: Pull HostListDirectoryGrabber out to a separate class. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fix FindBugs warnings Created 6 years, 10 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 side-by-side diff with in-line comments
Download patch
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;
+ }
+}

Powered by Google App Engine
This is Rietveld 408576698