forked from chromium/chromium
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdhcp_pac_file_fetcher.cc
43 lines (29 loc) · 1.11 KB
/
dhcp_pac_file_fetcher.cc
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
// 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(
std::u16string* 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