naiveproxy/net/proxy/dhcp_proxy_script_fetcher.cc

41 lines
1.0 KiB
C++
Raw Normal View History

2018-02-02 13:49:39 +03:00
// Copyright (c) 2012 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 {
std::string DhcpProxyScriptFetcher::GetFetcherName() const {
return std::string();
}
DhcpProxyScriptFetcher::DhcpProxyScriptFetcher() {}
DhcpProxyScriptFetcher::~DhcpProxyScriptFetcher() {}
DoNothingDhcpProxyScriptFetcher::DoNothingDhcpProxyScriptFetcher() {}
DoNothingDhcpProxyScriptFetcher::~DoNothingDhcpProxyScriptFetcher() {}
int DoNothingDhcpProxyScriptFetcher::Fetch(
base::string16* utf16_text, const CompletionCallback& callback) {
return ERR_NOT_IMPLEMENTED;
}
void DoNothingDhcpProxyScriptFetcher::Cancel() {}
void DoNothingDhcpProxyScriptFetcher::OnShutdown() {}
const GURL& DoNothingDhcpProxyScriptFetcher::GetPacURL() const {
return gurl_;
}
std::string DoNothingDhcpProxyScriptFetcher::GetFetcherName() const {
return "do nothing";
}
} // namespace net