OLD | NEW |
---|---|
(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_ | |
OLD | NEW |