Chromium Code Reviews| Index: remoting/test/connection_setup_info.h |
| diff --git a/remoting/test/connection_setup_info.h b/remoting/test/connection_setup_info.h |
| new file mode 100644 |
| index 0000000000000000000000000000000000000000..4ac5df243a79012a6b1b6e936ff3065cc368144f |
| --- /dev/null |
| +++ b/remoting/test/connection_setup_info.h |
| @@ -0,0 +1,47 @@ |
| +// Copyright 2015 The Chromium Authors. All rights reserved. |
| +// Use of this source code is governed by a BSD-style license that can be |
| +// found in the LICENSE file. |
| + |
| +#ifndef REMOTING_TEST_CONNECTION_SETUP_INFO_H_ |
| +#define REMOTING_TEST_CONNECTION_SETUP_INFO_H_ |
| + |
| +#include <string> |
| +#include <vector> |
| + |
| +#include "remoting/protocol/authentication_method.h" |
| + |
| +namespace remoting { |
| +namespace test { |
| + |
| +// Holds the information needed to establish a connection with a remote host. |
| +// Used to pass parameters to TestChromotingClient. |
|
joedow
2015/07/20 16:39:53
I'd remove the second line. Your intention is to
tonychun
2015/07/20 18:13:01
Done.
|
| +struct ConnectionSetupInfo { |
| + ConnectionSetupInfo(); |
| + ~ConnectionSetupInfo(); |
| + |
| + // User provided information. |
| + std::string access_token; |
| + std::string user_name; |
| + std::string pin; |
| + |
| + // Chromoting host information. |
| + std::string host_name; |
| + std::string offline_reason; |
| + std::string public_key; |
| + |
| + // App Remoting information. |
| + std::string authorization_code; |
| + std::string shared_secret; |
| + |
| + // Chromoting host information. |
| + std::vector<protocol::AuthenticationMethod> auth_methods; |
| + std::string capabilities; |
| + std::string host_id; |
| + std::string host_jid; |
| + std::string pairing_id; |
| +}; |
| + |
| +} // namespace test |
| +} // namespace remoting |
| + |
| +#endif // REMOTING_TEST_CONNECTION_SETUP_INFO_H_ |