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

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

Issue 1736633002: remoting: Add out-of-line copy ctors for complex classes. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 9 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
« no previous file with comments | « remoting/signaling/xmpp_signal_strategy.cc ('k') | remoting/test/connection_setup_info.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2015 The Chromium Authors. All rights reserved. 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 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef REMOTING_TEST_CONNECTION_SETUP_INFO_H_ 5 #ifndef REMOTING_TEST_CONNECTION_SETUP_INFO_H_
6 #define REMOTING_TEST_CONNECTION_SETUP_INFO_H_ 6 #define REMOTING_TEST_CONNECTION_SETUP_INFO_H_
7 7
8 #include <string> 8 #include <string>
9 #include <vector> 9 #include <vector>
10 10
11 #include "remoting/protocol/authentication_method.h" 11 #include "remoting/protocol/authentication_method.h"
12 12
13 namespace remoting { 13 namespace remoting {
14 namespace test { 14 namespace test {
15 15
16 // Holds the information needed to establish a connection with a remote host. 16 // Holds the information needed to establish a connection with a remote host.
17 struct ConnectionSetupInfo { 17 struct ConnectionSetupInfo {
18 ConnectionSetupInfo(); 18 ConnectionSetupInfo();
19 ConnectionSetupInfo(const ConnectionSetupInfo& other);
19 ~ConnectionSetupInfo(); 20 ~ConnectionSetupInfo();
20 21
21 // User provided information. 22 // User provided information.
22 std::string access_token; 23 std::string access_token;
23 std::string user_name; 24 std::string user_name;
24 std::string pin; 25 std::string pin;
25 26
26 // Chromoting host information. 27 // Chromoting host information.
27 std::string host_name; 28 std::string host_name;
28 std::string offline_reason; 29 std::string offline_reason;
29 std::string public_key; 30 std::string public_key;
30 31
31 // App Remoting information. 32 // App Remoting information.
32 std::string authorization_code; 33 std::string authorization_code;
33 std::string shared_secret; 34 std::string shared_secret;
34 35
35 // Chromoting host information. 36 // Chromoting host information.
36 std::vector<protocol::AuthenticationMethod> auth_methods; 37 std::vector<protocol::AuthenticationMethod> auth_methods;
37 std::string capabilities; 38 std::string capabilities;
38 std::string host_id; 39 std::string host_id;
39 std::string host_jid; 40 std::string host_jid;
40 std::string pairing_id; 41 std::string pairing_id;
41 }; 42 };
42 43
43 } // namespace test 44 } // namespace test
44 } // namespace remoting 45 } // namespace remoting
45 46
46 #endif // REMOTING_TEST_CONNECTION_SETUP_INFO_H_ 47 #endif // REMOTING_TEST_CONNECTION_SETUP_INFO_H_
OLDNEW
« no previous file with comments | « remoting/signaling/xmpp_signal_strategy.cc ('k') | remoting/test/connection_setup_info.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698