tonychun | f21b41e | 2015-07-20 20:29:11 | [diff] [blame] | 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_SETUP_INFO_H_ |
| 6 | #define REMOTING_TEST_CONNECTION_SETUP_INFO_H_ |
| 7 | |
| 8 | #include <string> |
tonychun | f21b41e | 2015-07-20 20:29:11 | [diff] [blame] | 9 | |
| 10 | namespace remoting { |
| 11 | namespace test { |
| 12 | |
| 13 | // Holds the information needed to establish a connection with a remote host. |
| 14 | struct ConnectionSetupInfo { |
| 15 | ConnectionSetupInfo(); |
vmpstr | 83a7f26 | 2016-02-26 21:46:54 | [diff] [blame] | 16 | ConnectionSetupInfo(const ConnectionSetupInfo& other); |
tonychun | f21b41e | 2015-07-20 20:29:11 | [diff] [blame] | 17 | ~ConnectionSetupInfo(); |
| 18 | |
| 19 | // User provided information. |
| 20 | std::string access_token; |
| 21 | std::string user_name; |
| 22 | std::string pin; |
| 23 | |
| 24 | // Chromoting host information. |
| 25 | std::string host_name; |
| 26 | std::string offline_reason; |
| 27 | std::string public_key; |
| 28 | |
| 29 | // App Remoting information. |
| 30 | std::string authorization_code; |
| 31 | std::string shared_secret; |
| 32 | |
| 33 | // Chromoting host information. |
tonychun | f21b41e | 2015-07-20 20:29:11 | [diff] [blame] | 34 | std::string capabilities; |
| 35 | std::string host_id; |
| 36 | std::string host_jid; |
| 37 | std::string pairing_id; |
| 38 | }; |
| 39 | |
| 40 | } // namespace test |
| 41 | } // namespace remoting |
| 42 | |
| 43 | #endif // REMOTING_TEST_CONNECTION_SETUP_INFO_H_ |