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

Unified Diff: remoting/test/chromoting_host_info.h

Issue 1212333011: Retrieved Hostlist information from Directory service. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 6 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/test/chromoting_host_info.h
diff --git a/remoting/test/chromoting_host_info.h b/remoting/test/chromoting_host_info.h
new file mode 100644
index 0000000000000000000000000000000000000000..8cab7996970523f79820283d5900ca273edbb38b
--- /dev/null
+++ b/remoting/test/chromoting_host_info.h
@@ -0,0 +1,32 @@
+// Copyright 2015 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.
+
+#ifndef REMOTING_TEST_CHROMOTING_HOST_INFO_H_
+#define REMOTING_TEST_CHROMOTING_HOST_INFO_H_
+
+#include <string>
+#include <vector>
+
+#include "base/values.h"
+
+namespace remoting {
+namespace test {
+
+struct ChromotingHostInfo {
+ ChromotingHostInfo(const base::DictionaryValue& item);
joedow 2015/07/01 03:39:33 Single argument constructors must be marked explic
tonychun 2015/07/06 20:11:50 Done.
+ ~ChromotingHostInfo();
+
+ std::vector<std::string> tokenUrlPatterns;
joedow 2015/07/01 03:39:34 nit: why is this the first member? It seems like
tonychun 2015/07/06 20:11:50 Done.
+ std::string id;
joedow 2015/07/01 03:39:34 nit: host_id and host_jid would be more readable.
tonychun 2015/07/06 20:11:50 Done.
+ std::string jid;
+ std::string name;
+ std::string offline_reason;
+ std::string public_key;
+ bool is_online;
joedow 2015/07/01 03:39:33 nit: move this above 'offline_reason'?
tonychun 2015/07/06 20:11:50 Done.
+};
+
+} // namespace test
+} // namespace remoting
+
+#endif // REMOTING_TEST_CHROMOTING_HOST_INFO_H_

Powered by Google App Engine
This is Rietveld 408576698