blob: 9aa1474ce7c7e43aa5017be040c8167bd0eb733e (
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
|
// Copyright (c) 2010 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_UTIL_H_
#define REMOTING_CLIENT_CLIENT_UTIL_H_
#include <string>
namespace remoting {
class ClientConfig;
// Get the login info from the cmdline args (or request from the console if
// not present) and write values into |config|.
// Return true if successful.
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_
|