blob: 5deecd6367bc10a6a7517a941f4c91d87f92d01e (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
|
// Copyright (c) 2006-2008 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/proxy_resolver_fixed.h"
#include "net/base/net_errors.h"
namespace net {
int ProxyResolverFixed::GetProxyConfig(ProxyConfig* config) {
config->proxy_server = pi_.proxy_server();
return OK;
}
int ProxyResolverFixed::GetProxyForURL(const std::string& query_url,
const std::string& pac_url,
ProxyInfo* results) {
NOTREACHED() << "Should not be asked to do proxy auto config";
return ERR_FAILED;
}
} // namespace net
|