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

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

Issue 2861047: Refactor the client code. Move all x11-related code into X11View and create... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 10 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
Property Changes:
Added: svn:eol-style
+ LF
OLDNEW
(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_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698