Chromium Code Reviews| Index: net/proxy/dhcp_proxy_script_fetcher.cc |
| diff --git a/net/proxy/dhcp_proxy_script_fetcher.cc b/net/proxy/dhcp_proxy_script_fetcher.cc |
| new file mode 100644 |
| index 0000000000000000000000000000000000000000..d74e3433daafe04980037040667bcd2c60cefe12 |
| --- /dev/null |
| +++ b/net/proxy/dhcp_proxy_script_fetcher.cc |
| @@ -0,0 +1,44 @@ |
| +// Copyright (c) 2011 The Chromium Authors. All rights reserved. |
| +// Use of this source code is governed by a BSD-style license that can be |
| +// found in the LICENSE file. |
| + |
| +#include "net/proxy/dhcp_proxy_script_fetcher.h" |
| + |
| +#include "net/base/net_errors.h" |
| + |
| +namespace net { |
| + |
| +DhcpProxyScriptFetcher::DhcpProxyScriptFetcher() { |
| +} |
| + |
| +DhcpProxyScriptFetcher::~DhcpProxyScriptFetcher() { |
| +} |
| + |
| +std::string DhcpProxyScriptFetcher::GetFetcherName() const { |
| + return ""; |
| +} |
| + |
| +DoNothingDhcpProxyScriptFetcher::DoNothingDhcpProxyScriptFetcher() { |
| +} |
| + |
| +DoNothingDhcpProxyScriptFetcher::~DoNothingDhcpProxyScriptFetcher() { |
| +} |
| + |
| +int DoNothingDhcpProxyScriptFetcher::Fetch(string16* utf16_text, |
| + CompletionCallback* callback) { |
| + *utf16_text = string16(); |
|
eroman
2011/04/21 05:22:48
no need to set anything (callers should not be che
Jói
2011/05/03 21:20:59
Done.
|
| + return ERR_NOT_IMPLEMENTED; |
| +} |
| + |
| +void DoNothingDhcpProxyScriptFetcher::Cancel() { |
| +} |
| + |
| +URLRequestContext* DoNothingDhcpProxyScriptFetcher::GetRequestContext() const { |
| + return NULL; |
| +} |
| + |
| +GURL DoNothingDhcpProxyScriptFetcher::GetPacURL() const { |
| + return GURL(); |
| +} |
| + |
| +} // namespace net |