| Index: net/http/http_proxy_utils.h
|
| ===================================================================
|
| --- net/http/http_proxy_utils.h (revision 0)
|
| +++ net/http/http_proxy_utils.h (revision 0)
|
| @@ -0,0 +1,28 @@
|
| +// Copyright (c) 2010 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.
|
| +
|
| +#ifndef NET_HTTP_HTTP_PROXY_UTILS_H_
|
| +#define NET_HTTP_HTTP_PROXY_UTILS_H_
|
| +#pragma once
|
| +
|
| +#include <string>
|
| +
|
| +namespace net {
|
| +
|
| +struct HttpRequestInfo;
|
| +class HttpRequestHeaders;
|
| +class HostPortPair;
|
| +
|
| +// The HTTP CONNECT method for establishing a tunnel connection is documented
|
| +// in draft-luotonen-web-proxy-tunneling-01.txt and RFC 2817, Sections 5.2 and
|
| +// 5.3.
|
| +void BuildTunnelRequest(const HttpRequestInfo& request_info,
|
| + const HttpRequestHeaders& auth_headers,
|
| + const HostPortPair& endpoint,
|
| + std::string* request_line,
|
| + HttpRequestHeaders* request_headers);
|
| +
|
| +} // namespace net
|
| +
|
| +#endif // NET_HTTP_HTTP_PROXY_UTILS_H_
|
|
|
| Property changes on: net/http/http_proxy_utils.h
|
| ___________________________________________________________________
|
| Added: svn:eol-style
|
| + LF
|
|
|
|
|