Index: remoting/client/client_util.h |
=================================================================== |
--- remoting/client/client_util.h (revision 52921) |
+++ remoting/client/client_util.h (working copy) |
@@ -9,13 +9,17 @@ |
namespace remoting { |
+class ClientConfig; |
+ |
// Get the login info from the cmdline args (or request from the console if |
-// not present) and write values into |host_jid|, |username| and |auth_token|. |
+// not present) and write values into |config|. |
// Return true if successful. |
-bool GetLoginInfo(int argc, char** argv, |
- std::string* host_jid, std::string* username, |
- std::string* auth_token); |
+bool GetLoginInfoFromArgs(int argc, char** argv, ClientConfig* config); |
+// Get the login info from the URL params and write values into |config|. |
+// Return true if successful. |
+bool GetLoginInfoFromUrlParams(const std::string& url, ClientConfig* config); |
+ |
} // namespace remoting |
#endif // REMOTING_CLIENT_CLIENT_UTIL_H_ |