Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(853)

Side by Side Diff: remoting/test/connection_setup_info.h

Issue 1237093004: Support for connecting to localhost on the chromoting test driver. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Made changes to comments and variable name. Created 5 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
(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.
17 // 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.
18 struct ConnectionSetupInfo {
19 ConnectionSetupInfo();
20 ~ConnectionSetupInfo();
21
22 // User provided information.
23 std::string access_token;
24 std::string user_name;
25 std::string pin;
26
27 // Chromoting host information.
28 std::string host_name;
29 std::string offline_reason;
30 std::string public_key;
31
32 // App Remoting information.
33 std::string authorization_code;
34 std::string shared_secret;
35
36 // Chromoting host information.
37 std::vector<protocol::AuthenticationMethod> auth_methods;
38 std::string capabilities;
39 std::string host_id;
40 std::string host_jid;
41 std::string pairing_id;
42 };
43
44 } // namespace test
45 } // namespace remoting
46
47 #endif // REMOTING_TEST_CONNECTION_SETUP_INFO_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698