Index: net/proxy/dhcp_proxy_script_fetcher_factory.h |
diff --git a/net/proxy/dhcp_proxy_script_fetcher_factory.h b/net/proxy/dhcp_proxy_script_fetcher_factory.h |
index 147435d6f0bf6a3fb7578aa01daf7d514ff2c395..9293eddb105bae95fc1d16475d9967b2bb9071b9 100644 |
--- a/net/proxy/dhcp_proxy_script_fetcher_factory.h |
+++ b/net/proxy/dhcp_proxy_script_fetcher_factory.h |
@@ -9,10 +9,10 @@ |
#include "base/memory/singleton.h" |
#include "net/base/completion_callback.h" |
#include "net/base/net_export.h" |
+#include "net/proxy/dhcp_proxy_script_fetcher.h" |
namespace net { |
-class DhcpProxyScriptFetcher; |
class URLRequestContext; |
// Factory object for creating the appropriate concrete base class of |
@@ -41,7 +41,8 @@ class NET_EXPORT DhcpProxyScriptFetcherFactory { |
// reference to |url_request_context|. Be careful not to create cycles |
// between the fetcher and the context; you can break such cycles by calling |
// Cancel(). |
- DhcpProxyScriptFetcher* Create(URLRequestContext* url_request_context); |
+ scoped_ptr<DhcpProxyScriptFetcher> Create( |
+ URLRequestContext* url_request_context); |
// Attempts to enable/disable the DHCP WPAD feature. Does nothing |
// if |IsSupported()| returns false. |