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 #ifndef NET_PROXY_DHCP_SCRIPT_FETCHER_FACTORY_H_ | 5 #ifndef NET_PROXY_DHCP_SCRIPT_FETCHER_FACTORY_H_ |
6 #define NET_PROXY_DHCP_SCRIPT_FETCHER_FACTORY_H_ | 6 #define NET_PROXY_DHCP_SCRIPT_FETCHER_FACTORY_H_ |
7 | 7 |
8 #include "base/macros.h" | 8 #include "base/macros.h" |
| 9 #include "base/memory/scoped_ptr.h" |
9 #include "base/memory/singleton.h" | 10 #include "base/memory/singleton.h" |
10 #include "net/base/completion_callback.h" | 11 #include "net/base/completion_callback.h" |
11 #include "net/base/net_export.h" | 12 #include "net/base/net_export.h" |
12 #include "net/proxy/dhcp_proxy_script_fetcher.h" | 13 #include "net/proxy/dhcp_proxy_script_fetcher.h" |
13 | 14 |
14 namespace net { | 15 namespace net { |
15 | 16 |
16 class URLRequestContext; | 17 class URLRequestContext; |
17 | 18 |
18 // Factory object for creating the appropriate concrete base class of | 19 // Factory object for creating the appropriate concrete base class of |
(...skipping 41 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
60 | 61 |
61 private: | 62 private: |
62 bool feature_enabled_; | 63 bool feature_enabled_; |
63 | 64 |
64 DISALLOW_COPY_AND_ASSIGN(DhcpProxyScriptFetcherFactory); | 65 DISALLOW_COPY_AND_ASSIGN(DhcpProxyScriptFetcherFactory); |
65 }; | 66 }; |
66 | 67 |
67 } // namespace net | 68 } // namespace net |
68 | 69 |
69 #endif // NET_PROXY_DHCP_SCRIPT_FETCHER_FACTORY_H_ | 70 #endif // NET_PROXY_DHCP_SCRIPT_FETCHER_FACTORY_H_ |
OLD | NEW |