OLD | NEW |
| (Empty) |
1 /* | |
2 * Copyright 2007 The WebRTC Project Authors. All rights reserved. | |
3 * | |
4 * Use of this source code is governed by a BSD-style license | |
5 * that can be found in the LICENSE file in the root of the source | |
6 * tree. An additional intellectual property rights grant can be found | |
7 * in the file PATENTS. All contributing project authors may | |
8 * be found in the AUTHORS file in the root of the source tree. | |
9 */ | |
10 | |
11 #ifndef _PROXYDETECT_H_ | |
12 #define _PROXYDETECT_H_ | |
13 | |
14 #include "webrtc/base/proxyinfo.h" | |
15 | |
16 namespace rtc { | |
17 // Auto-detect the proxy server. Returns true if a proxy is configured, | |
18 // although hostname may be empty if the proxy is not required for | |
19 // the given URL. | |
20 | |
21 bool GetProxySettingsForUrl(const char* agent, const char* url, | |
22 rtc::ProxyInfo* proxy, | |
23 bool long_operation = false); | |
24 | |
25 } // namespace rtc | |
26 | |
27 #endif // _PROXYDETECT_H_ | |
OLD | NEW |