summaryrefslogtreecommitdiffstats
path: root/third_party/libjingle/files/talk/base/proxydetect.h
diff options
context:
space:
mode:
Diffstat (limited to 'third_party/libjingle/files/talk/base/proxydetect.h')
-rw-r--r--third_party/libjingle/files/talk/base/proxydetect.h13
1 files changed, 13 insertions, 0 deletions
diff --git a/third_party/libjingle/files/talk/base/proxydetect.h b/third_party/libjingle/files/talk/base/proxydetect.h
new file mode 100644
index 0000000..3de2598
--- /dev/null
+++ b/third_party/libjingle/files/talk/base/proxydetect.h
@@ -0,0 +1,13 @@
+#ifndef _PROXYDETECT_H_
+#define _PROXYDETECT_H_
+
+#include "talk/base/proxyinfo.h"
+
+// Auto-detect the proxy server. Returns true if a proxy is configured,
+// although hostname may be empty if the proxy is not required for the given URL.
+
+bool GetProxySettingsForUrl(const char* agent, const char* url,
+ talk_base::ProxyInfo& proxy,
+ bool long_operation = false);
+
+#endif // _PROXYDETECT_H_