mirror of
https://github.com/klzgrad/naiveproxy.git
synced 2024-11-24 14:26:09 +03:00
44 lines
1.1 KiB
C++
44 lines
1.1 KiB
C++
|
// 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_resolution/dhcp_pac_file_fetcher.h"
|
||
|
|
||
|
#include "net/base/net_errors.h"
|
||
|
|
||
|
namespace net {
|
||
|
|
||
|
std::string DhcpPacFileFetcher::GetFetcherName() const {
|
||
|
return std::string();
|
||
|
}
|
||
|
|
||
|
DhcpPacFileFetcher::DhcpPacFileFetcher() = default;
|
||
|
|
||
|
DhcpPacFileFetcher::~DhcpPacFileFetcher() = default;
|
||
|
|
||
|
DoNothingDhcpPacFileFetcher::DoNothingDhcpPacFileFetcher() = default;
|
||
|
|
||
|
DoNothingDhcpPacFileFetcher::~DoNothingDhcpPacFileFetcher() = default;
|
||
|
|
||
|
int DoNothingDhcpPacFileFetcher::Fetch(
|
||
|
base::string16* utf16_text,
|
||
|
CompletionOnceCallback callback,
|
||
|
const NetLogWithSource& net_log,
|
||
|
const NetworkTrafficAnnotationTag traffic_annotation) {
|
||
|
return ERR_NOT_IMPLEMENTED;
|
||
|
}
|
||
|
|
||
|
void DoNothingDhcpPacFileFetcher::Cancel() {}
|
||
|
|
||
|
void DoNothingDhcpPacFileFetcher::OnShutdown() {}
|
||
|
|
||
|
const GURL& DoNothingDhcpPacFileFetcher::GetPacURL() const {
|
||
|
return gurl_;
|
||
|
}
|
||
|
|
||
|
std::string DoNothingDhcpPacFileFetcher::GetFetcherName() const {
|
||
|
return "do nothing";
|
||
|
}
|
||
|
|
||
|
} // namespace net
|