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

Side by Side Diff: remoting/client/client_config.h

Issue 384523003: Cleanups in ChromotingClient (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 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 | Annotate | Revision Log
« no previous file with comments | « remoting/client/chromoting_client.cc ('k') | remoting/client/client_config.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
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
3 // found in the LICENSE file.
4
5 #ifndef REMOTING_CLIENT_CLIENT_CONFIG_H_
6 #define REMOTING_CLIENT_CLIENT_CONFIG_H_
7
8 #include <string>
9 #include <vector>
10
11 #include "base/basictypes.h"
12 #include "remoting/protocol/authentication_method.h"
13 #include "remoting/protocol/negotiating_client_authenticator.h"
14
15 namespace remoting {
16
17 struct ClientConfig {
18 ClientConfig();
19 ~ClientConfig();
20
21 std::string host_jid;
22 std::string host_public_key;
23
24 protocol::FetchSecretCallback fetch_secret_callback;
25
26 std::vector<protocol::AuthenticationMethod> authentication_methods;
27 std::string authentication_tag;
28
29 // The set of all capabilities supported by the webapp.
30 std::string capabilities;
31
32 // The host-generated id and secret for paired clients. Paired clients
33 // should set both of these in addition to fetch_secret_callback; the
34 // latter is used if the paired connection fails (for example, if the
35 // pairing has been revoked by the host) and the user needs to prompted
36 // to enter their PIN.
37 std::string client_pairing_id;
38 std::string client_paired_secret;
39 };
40
41 } // namespace remoting
42
43 #endif // REMOTING_CLIENT_CLIENT_CONFIG_H_
OLDNEW
« no previous file with comments | « remoting/client/chromoting_client.cc ('k') | remoting/client/client_config.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698