OLD | NEW |
(Empty) | |
| 1 // Copyright (c) 2010 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 |
| 10 #include "base/basictypes.h" |
| 11 |
| 12 namespace remoting { |
| 13 |
| 14 class ClientConfig { |
| 15 public: |
| 16 ClientConfig() { } |
| 17 |
| 18 const std::string host_jid() { return host_jid_; } |
| 19 const std::string username() { return username_; } |
| 20 const std::string auth_token() { return auth_token_; } |
| 21 |
| 22 void set_host_jid(std::string val) { host_jid_ = val; } |
| 23 void set_username(std::string val) { username_ = val; } |
| 24 void set_auth_token(std::string val) { auth_token_ = val; } |
| 25 |
| 26 private: |
| 27 std::string host_jid_; |
| 28 std::string username_; |
| 29 std::string auth_token_; |
| 30 |
| 31 DISALLOW_COPY_AND_ASSIGN(ClientConfig); |
| 32 }; |
| 33 |
| 34 } // namespace remoting |
| 35 |
| 36 #endif // REMOTING_CLIENT_CLIENT_CONFIG_H_ |
OLD | NEW |