blob: 7a41f066e7ff9f28d3cccb3690b8a69a416235ce [file] [log] [blame]
tonychunf21b41e2015-07-20 20:29:111// 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>
tonychunf21b41e2015-07-20 20:29:119
10namespace remoting {
11namespace test {
12
13// Holds the information needed to establish a connection with a remote host.
14struct ConnectionSetupInfo {
15 ConnectionSetupInfo();
vmpstr83a7f262016-02-26 21:46:5416 ConnectionSetupInfo(const ConnectionSetupInfo& other);
tonychunf21b41e2015-07-20 20:29:1117 ~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.
tonychunf21b41e2015-07-20 20:29:1134 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_