OLD | NEW |
---|---|
(Empty) | |
1 // Copyright 2017 The Chromium Authors. All rights reserved. | |
2 // Use of this source code is governed by a BSD-style license that can be | |
3 // found in the LICENSE file. | |
4 | |
5 #ifndef CHROMEOS_NETWORK_DHCP_PROXY_SCRIPT_FETCHER_FACTORY_CHROMEOS_H_ | |
6 #define CHROMEOS_NETWORK_DHCP_PROXY_SCRIPT_FETCHER_FACTORY_CHROMEOS_H_ | |
7 | |
8 #include <memory> | |
9 | |
10 #include "base/macros.h" | |
11 #include "chromeos/chromeos_export.h" | |
12 #include "net/proxy/dhcp_proxy_script_fetcher_factory.h" | |
13 | |
14 namespace net { | |
15 class DhcpProxyScriptFetcher; | |
16 class URLRequestContext; | |
17 } | |
18 | |
19 namespace chromeos { | |
20 | |
21 // ChromeOS specific implementation of DhcpProxyScriptFetcherFactory. | |
22 // TODO(mmenke): This won't work at all with an out-of-process network service. | |
23 // Figure out a way forward there. | |
Randy Smith (Not in Mondays)
2017/06/15 19:13:30
This isn't a problem with the Win-specific proxy s
mmenke
2017/06/15 19:33:24
On Windows, the classes are entirely within net/,
| |
24 class CHROMEOS_EXPORT DhcpProxyScriptFetcherFactoryChromeos | |
25 : public net::DhcpProxyScriptFetcherFactory { | |
26 public: | |
27 DhcpProxyScriptFetcherFactoryChromeos(); | |
28 ~DhcpProxyScriptFetcherFactoryChromeos() override; | |
29 | |
30 // net::DhcpProxyScriptFetcherFactory implementation. | |
31 std::unique_ptr<net::DhcpProxyScriptFetcher> Create( | |
32 net::URLRequestContext* url_request_context) override; | |
33 | |
34 private: | |
35 DISALLOW_COPY_AND_ASSIGN(DhcpProxyScriptFetcherFactoryChromeos); | |
36 }; | |
37 | |
38 } // namespace chromeos | |
39 | |
40 #endif // CHROMEOS_NETWORK_DHCP_PROXY_SCRIPT_FETCHER_FACTORY_CHROMEOS_H_ | |
OLD | NEW |