summaryrefslogtreecommitdiffstats
path: root/remoting/client/client_config.h
blob: 7f5b5f467691db616d0b6158374c78b9ad5480c8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
// Copyright (c) 2011 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.

#ifndef REMOTING_CLIENT_CLIENT_CONFIG_H_
#define REMOTING_CLIENT_CLIENT_CONFIG_H_

#include <string>

#include "base/basictypes.h"

namespace remoting {

struct ClientConfig {
  ClientConfig();
  ~ClientConfig();

  bool xmpp_signalling;

  // Set only with |xmpp_signalling| set to true.
  std::string xmpp_username;
  std::string xmpp_auth_token;
  std::string xmpp_auth_service;  // Do we still need it?

  // Set only with |xmpp_signalling| set to false.
  std::string local_jid;

  std::string host_jid;
  std::string host_public_key;

  std::string access_code;
};

}  // namespace remoting

#endif  // REMOTING_CLIENT_CLIENT_CONFIG_H_