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/base/capabilities.h" |
12 #include "remoting/protocol/authentication_method.h" | 13 #include "remoting/protocol/authentication_method.h" |
13 #include "remoting/protocol/negotiating_client_authenticator.h" | 14 #include "remoting/protocol/negotiating_client_authenticator.h" |
14 | 15 |
15 namespace remoting { | 16 namespace remoting { |
16 | 17 |
17 struct ClientConfig { | 18 struct ClientConfig { |
18 ClientConfig(); | 19 ClientConfig(); |
19 ~ClientConfig(); | 20 ~ClientConfig(); |
20 | 21 |
21 std::string local_jid; | 22 std::string local_jid; |
22 | 23 |
23 std::string host_jid; | 24 std::string host_jid; |
24 std::string host_public_key; | 25 std::string host_public_key; |
25 | 26 |
26 protocol::FetchSecretCallback fetch_secret_callback; | 27 protocol::FetchSecretCallback fetch_secret_callback; |
27 | 28 |
28 std::vector<protocol::AuthenticationMethod> authentication_methods; | 29 std::vector<protocol::AuthenticationMethod> authentication_methods; |
29 std::string authentication_tag; | 30 std::string authentication_tag; |
| 31 |
| 32 // The set of all capabilities supported by the webapp. |
| 33 Capabilities capabilities; |
30 }; | 34 }; |
31 | 35 |
32 } // namespace remoting | 36 } // namespace remoting |
33 | 37 |
34 #endif // REMOTING_CLIENT_CLIENT_CONFIG_H_ | 38 #endif // REMOTING_CLIENT_CLIENT_CONFIG_H_ |
OLD | NEW |