Chromium Code Reviews| 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_CONNECTION_INFO_H_ | |
| 6 #define REMOTING_TEST_CONNECTION_INFO_H_ | |
| 7 | |
| 8 #include <string> | |
| 9 | |
| 10 namespace remoting { | |
| 11 namespace test { | |
| 12 | |
| 13 // Holds the information needed to establish a connection with a remote host. | |
| 14 struct ConnectionInfo { | |
|
anandc
2015/07/15 21:12:29
"ConnectionInfo" reads like it holds the informati
tonychun
2015/07/16 23:12:08
Done.
| |
| 15 ConnectionInfo(); | |
| 16 ~ConnectionInfo(); | |
| 17 | |
| 18 // User provided information. | |
| 19 std::string access_token; | |
| 20 std::string user_name; | |
| 21 std::string pin; | |
| 22 | |
| 23 // Chromoting host information. | |
| 24 std::string host_name; | |
| 25 std::string offline_reason; | |
| 26 std::string public_key; | |
| 27 | |
| 28 // Aoo Remoting information. | |
|
anandc
2015/07/15 21:12:29
Typo.
tonychun
2015/07/16 23:12:08
Done.
| |
| 29 std::string authorization_code; | |
| 30 std::string shared_secret; | |
| 31 | |
| 32 // Common information. | |
| 33 std::string auth_methods_str; | |
| 34 std::string capabilities; | |
| 35 std::string host_id; | |
|
anandc
2015/07/15 21:12:29
Why is this "common" and not "Chromoting host" inf
tonychun
2015/07/16 23:12:08
Because the host_id and host_jid are also part of
| |
| 36 std::string host_jid; | |
| 37 }; | |
| 38 | |
| 39 } // namespace test | |
| 40 } // namespace remoting | |
| 41 | |
| 42 #endif // REMOTING_TEST_CONNECTION_INFO_H_ | |
| OLD | NEW |