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_adapter_fetcher_win.h" | 5 #include "net/proxy/dhcp_proxy_script_adapter_fetcher_win.h" |
6 | 6 |
7 #include "base/bind.h" | 7 #include "base/bind.h" |
8 #include "base/bind_helpers.h" | 8 #include "base/bind_helpers.h" |
9 #include "base/logging.h" | 9 #include "base/logging.h" |
10 #include "base/message_loop_proxy.h" | 10 #include "base/message_loop/message_loop_proxy.h" |
11 #include "base/metrics/histogram.h" | 11 #include "base/metrics/histogram.h" |
12 #include "base/strings/sys_string_conversions.h" | 12 #include "base/strings/sys_string_conversions.h" |
13 #include "base/threading/worker_pool.h" | 13 #include "base/threading/worker_pool.h" |
14 #include "base/time.h" | 14 #include "base/time.h" |
15 #include "net/base/net_errors.h" | 15 #include "net/base/net_errors.h" |
16 #include "net/proxy/dhcpcsvc_init_win.h" | 16 #include "net/proxy/dhcpcsvc_init_win.h" |
17 #include "net/proxy/proxy_script_fetcher_impl.h" | 17 #include "net/proxy/proxy_script_fetcher_impl.h" |
18 #include "net/url_request/url_request_context.h" | 18 #include "net/url_request/url_request_context.h" |
19 | 19 |
20 #include <windows.h> | 20 #include <windows.h> |
(...skipping 258 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
279 // back a buffer with embedded NULLs, something is broken anyway. | 279 // back a buffer with embedded NULLs, something is broken anyway. |
280 return std::string( | 280 return std::string( |
281 std::string(reinterpret_cast<const char *>(wpad_params.Data), | 281 std::string(reinterpret_cast<const char *>(wpad_params.Data), |
282 wpad_params.nBytesData).c_str()); | 282 wpad_params.nBytesData).c_str()); |
283 } | 283 } |
284 | 284 |
285 return ""; | 285 return ""; |
286 } | 286 } |
287 | 287 |
288 } // namespace net | 288 } // namespace net |
OLD | NEW |