Index: net/proxy/proxy_config_service_win.h |
diff --git a/net/proxy/proxy_config_service_win.h b/net/proxy/proxy_config_service_win.h |
index ce17e05700b1e1db53f1ce254004f8e1c123f3c4..0b54050f4ec76817861e44867271befb08d66c2d 100644 |
--- a/net/proxy/proxy_config_service_win.h |
+++ b/net/proxy/proxy_config_service_win.h |
@@ -8,6 +8,7 @@ |
#include <windows.h> |
#include <winhttp.h> |
+#include <memory> |
#include <vector> |
#include "base/compiler_specific.h" |
@@ -55,7 +56,6 @@ class NET_EXPORT_PRIVATE ProxyConfigServiceWin |
private: |
FRIEND_TEST_ALL_PREFIXES(ProxyConfigServiceWinTest, SetFromIEConfig); |
- typedef std::vector<base::win::RegKey*> RegKeyList; |
// Registers change observers on the registry keys relating to proxy settings. |
void StartWatchingRegistryForChanges(); |
@@ -74,7 +74,7 @@ class NET_EXPORT_PRIVATE ProxyConfigServiceWin |
ProxyConfig* config, |
const WINHTTP_CURRENT_USER_IE_PROXY_CONFIG& ie_config); |
- RegKeyList keys_to_watch_; |
+ std::vector<std::unique_ptr<base::win::RegKey>> keys_to_watch_; |
}; |
} // namespace net |