OLD | NEW |
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. |
2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 #include "net/proxy/dhcp_proxy_script_fetcher_win.h" | 5 #include "net/proxy/dhcp_proxy_script_fetcher_win.h" |
6 | 6 |
7 #include <vector> | 7 #include <vector> |
8 | 8 |
9 #include "base/bind.h" | 9 #include "base/bind.h" |
10 #include "base/bind_helpers.h" | 10 #include "base/bind_helpers.h" |
| 11 #include "base/memory/free_deleter.h" |
11 #include "base/memory/scoped_ptr.h" | 12 #include "base/memory/scoped_ptr.h" |
12 #include "base/profiler/scoped_tracker.h" | 13 #include "base/profiler/scoped_tracker.h" |
13 #include "base/threading/sequenced_worker_pool.h" | 14 #include "base/threading/sequenced_worker_pool.h" |
14 #include "net/base/net_errors.h" | 15 #include "net/base/net_errors.h" |
15 #include "net/proxy/dhcp_proxy_script_adapter_fetcher_win.h" | 16 #include "net/proxy/dhcp_proxy_script_adapter_fetcher_win.h" |
16 | 17 |
17 #include <winsock2.h> | 18 #include <winsock2.h> |
18 #include <iphlpapi.h> | 19 #include <iphlpapi.h> |
19 #pragma comment(lib, "iphlpapi.lib") | 20 #pragma comment(lib, "iphlpapi.lib") |
20 | 21 |
(...skipping 353 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
374 | 375 |
375 bool DhcpProxyScriptFetcherWin::AdapterQuery::ImplGetCandidateAdapterNames( | 376 bool DhcpProxyScriptFetcherWin::AdapterQuery::ImplGetCandidateAdapterNames( |
376 std::set<std::string>* adapter_names) { | 377 std::set<std::string>* adapter_names) { |
377 return DhcpProxyScriptFetcherWin::GetCandidateAdapterNames(adapter_names); | 378 return DhcpProxyScriptFetcherWin::GetCandidateAdapterNames(adapter_names); |
378 } | 379 } |
379 | 380 |
380 DhcpProxyScriptFetcherWin::AdapterQuery::~AdapterQuery() { | 381 DhcpProxyScriptFetcherWin::AdapterQuery::~AdapterQuery() { |
381 } | 382 } |
382 | 383 |
383 } // namespace net | 384 } // namespace net |
OLD | NEW |