OLD | NEW |
1 // Copyright (c) 2010 The Chromium Authors. All rights reserved. | 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 | 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_UTIL_H_ | 5 #ifndef REMOTING_CLIENT_CLIENT_UTIL_H_ |
6 #define REMOTING_CLIENT_CLIENT_UTIL_H_ | 6 #define REMOTING_CLIENT_CLIENT_UTIL_H_ |
7 | 7 |
8 #include <string> | 8 #include <string> |
9 | 9 |
10 namespace remoting { | 10 namespace remoting { |
11 | 11 |
12 // Get the login info from the console and writes into |host_jid|, |username| | 12 // Get the login info from the console and writes into |host_jid|, |username| |
13 // and |password|. Return true if successful. | 13 // and |auth_token|. Return true if successful. |
14 bool GetLoginInfo(std::string& host_jid, std::string& username, | 14 bool GetLoginInfo(std::string& host_jid, std::string& username, |
15 std::string& password); | 15 std::string& auth_token); |
16 | 16 |
17 } // namespace remoting | 17 } // namespace remoting |
18 | 18 |
19 #endif // REMOTING_CLIENT_CLIENT_UTIL_H_ | 19 #endif // REMOTING_CLIENT_CLIENT_UTIL_H_ |
OLD | NEW |