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

Side by Side 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, 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
(Empty)
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
3 // found in the LICENSE file.
4
5 #ifndef REMOTING_TEST_CHROMOTING_HOST_INFO_H_
6 #define REMOTING_TEST_CHROMOTING_HOST_INFO_H_
7
8 #include <string>
9 #include <vector>
10
11 #include "base/values.h"
12
13 namespace remoting {
14 namespace test {
15
16 struct ChromotingHostInfo {
17 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.
18 ~ChromotingHostInfo();
19
20 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.
21 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.
22 std::string jid;
23 std::string name;
24 std::string offline_reason;
25 std::string public_key;
26 bool is_online;
joedow 2015/07/01 03:39:33 nit: move this above 'offline_reason'?
tonychun 2015/07/06 20:11:50 Done.
27 };
28
29 } // namespace test
30 } // namespace remoting
31
32 #endif // REMOTING_TEST_CHROMOTING_HOST_INFO_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698