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_SETUP_INFO_H_ | |
6 #define REMOTING_TEST_CONNECTION_SETUP_INFO_H_ | |
7 | |
8 #include <string> | |
9 #include <vector> | |
10 | |
11 #include "remoting/protocol/authentication_method.h" | |
12 | |
13 namespace remoting { | |
14 namespace test { | |
15 | |
16 // Holds the information needed to establish a connection with a remote host. | |
Sergey Ulanov
2015/07/16 23:42:10
Also mention that it's used to pass parameters to
tonychun
2015/07/17 16:25:49
Done.
| |
17 struct ConnectionSetupInfo { | |
18 ConnectionSetupInfo(); | |
19 ~ConnectionSetupInfo(); | |
20 | |
21 // User provided information. | |
22 std::string access_token; | |
23 std::string user_name; | |
24 std::string pin; | |
25 | |
26 // Chromoting host information. | |
27 std::string host_name; | |
28 std::string offline_reason; | |
29 std::string public_key; | |
30 | |
31 // App Remoting information. | |
32 std::string authorization_code; | |
33 std::string shared_secret; | |
34 | |
35 // Chromoting host information. | |
36 std::vector<protocol::AuthenticationMethod> auth_methods; | |
37 std::string capabilities; | |
38 std::string host_id; | |
39 std::string host_jid; | |
40 std::string pairing_id; | |
41 }; | |
42 | |
43 } // namespace test | |
44 } // namespace remoting | |
45 | |
46 #endif // REMOTING_TEST_CONNECTION_SETUP_INFO_H_ | |
OLD | NEW |