OLD | NEW |
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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_CLIENT_CLIENT_CONFIG_H_ | 5 #ifndef REMOTING_CLIENT_CLIENT_CONFIG_H_ |
6 #define REMOTING_CLIENT_CLIENT_CONFIG_H_ | 6 #define REMOTING_CLIENT_CLIENT_CONFIG_H_ |
7 | 7 |
8 #include <string> | 8 #include <string> |
9 #include <vector> | 9 #include <vector> |
10 | 10 |
11 #include "base/basictypes.h" | 11 #include "base/basictypes.h" |
12 #include "remoting/protocol/authentication_method.h" | 12 #include "remoting/protocol/authentication_method.h" |
13 | 13 |
14 namespace remoting { | 14 namespace remoting { |
15 | 15 |
16 struct ClientConfig { | 16 struct ClientConfig { |
17 ClientConfig(); | 17 ClientConfig(); |
18 ~ClientConfig(); | 18 ~ClientConfig(); |
19 | 19 |
20 std::string local_jid; | 20 std::string local_jid; |
21 | 21 |
22 std::string host_jid; | 22 std::string host_jid; |
23 std::string host_public_key; | 23 std::string host_public_key; |
24 | 24 |
25 std::string shared_secret; | 25 std::string shared_secret; |
26 bool use_v1_authenticator; | |
27 std::vector<protocol::AuthenticationMethod> authentication_methods; | 26 std::vector<protocol::AuthenticationMethod> authentication_methods; |
28 std::string authentication_tag; | 27 std::string authentication_tag; |
29 }; | 28 }; |
30 | 29 |
31 } // namespace remoting | 30 } // namespace remoting |
32 | 31 |
33 #endif // REMOTING_CLIENT_CLIENT_CONFIG_H_ | 32 #endif // REMOTING_CLIENT_CLIENT_CONFIG_H_ |
OLD | NEW |