summaryrefslogtreecommitdiffstats
path: root/net/proxy/proxy_config_service_win.h
diff options
context:
space:
mode:
Diffstat (limited to 'net/proxy/proxy_config_service_win.h')
-rw-r--r--net/proxy/proxy_config_service_win.h12
1 files changed, 12 insertions, 0 deletions
diff --git a/net/proxy/proxy_config_service_win.h b/net/proxy/proxy_config_service_win.h
index 59b14c6..76f8ced 100644
--- a/net/proxy/proxy_config_service_win.h
+++ b/net/proxy/proxy_config_service_win.h
@@ -5,7 +5,11 @@
#ifndef NET_PROXY_PROXY_CONFIG_SERVICE_WIN_H_
#define NET_PROXY_PROXY_CONFIG_SERVICE_WIN_H_
+#include <windows.h>
+#include <winhttp.h>
+
#include "net/proxy/proxy_config_service.h"
+#include "testing/gtest/include/gtest/gtest_prod.h"
namespace net {
@@ -15,6 +19,14 @@ class ProxyConfigServiceWin : public ProxyConfigService {
public:
// ProxyConfigService methods.
virtual int GetProxyConfig(ProxyConfig* config);
+
+ private:
+ FRIEND_TEST(ProxyConfigServiceWinTest, SetFromIEConfig);
+
+ // Set |config| using the proxy configuration values of |ie_config|.
+ static void SetFromIEConfig(
+ ProxyConfig* config,
+ const WINHTTP_CURRENT_USER_IE_PROXY_CONFIG& ie_config);
};
} // namespace net