Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(869)

Side by Side Diff: net/base/test_proxy_delegate.h

Issue 1684123004: Bypass the DataReductionProxy for all POST requests (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix Rebase issue Created 4 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « net/base/proxy_delegate.h ('k') | net/base/test_proxy_delegate.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2016 The Chromium Authors. All rights reserved. 1 // Copyright 2016 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef NET_BASE_TEST_PROXY_DELEGATE_H_ 5 #ifndef NET_BASE_TEST_PROXY_DELEGATE_H_
6 #define NET_BASE_TEST_PROXY_DELEGATE_H_ 6 #define NET_BASE_TEST_PROXY_DELEGATE_H_
7 7
8 #include <string> 8 #include <string>
9 9
10 #include "net/base/host_port_pair.h" 10 #include "net/base/host_port_pair.h"
(...skipping 33 matching lines...) Expand 10 before | Expand all | Expand 10 after
44 44
45 void VerifyOnTunnelRequestCompleted(const std::string& endpoint, 45 void VerifyOnTunnelRequestCompleted(const std::string& endpoint,
46 const std::string& proxy_server) const; 46 const std::string& proxy_server) const;
47 47
48 void VerifyOnTunnelHeadersReceived(const std::string& origin, 48 void VerifyOnTunnelHeadersReceived(const std::string& origin,
49 const std::string& proxy_server, 49 const std::string& proxy_server,
50 const std::string& status_line) const; 50 const std::string& status_line) const;
51 51
52 // ProxyDelegate implementation: 52 // ProxyDelegate implementation:
53 void OnResolveProxy(const GURL& url, 53 void OnResolveProxy(const GURL& url,
54 const std::string& method,
54 int load_flags, 55 int load_flags,
55 const ProxyService& proxy_service, 56 const ProxyService& proxy_service,
56 ProxyInfo* result) override; 57 ProxyInfo* result) override;
57 void OnTunnelConnectCompleted(const HostPortPair& endpoint, 58 void OnTunnelConnectCompleted(const HostPortPair& endpoint,
58 const HostPortPair& proxy_server, 59 const HostPortPair& proxy_server,
59 int net_error) override; 60 int net_error) override;
60 void OnFallback(const ProxyServer& bad_proxy, int net_error) override; 61 void OnFallback(const ProxyServer& bad_proxy, int net_error) override;
61 void OnBeforeSendHeaders(URLRequest* request, 62 void OnBeforeSendHeaders(URLRequest* request,
62 const ProxyInfo& proxy_info, 63 const ProxyInfo& proxy_info,
63 HttpRequestHeaders* headers) override; 64 HttpRequestHeaders* headers) override;
(...skipping 13 matching lines...) Expand all
77 HostPortPair on_tunnel_request_completed_endpoint_; 78 HostPortPair on_tunnel_request_completed_endpoint_;
78 HostPortPair on_tunnel_request_completed_proxy_server_; 79 HostPortPair on_tunnel_request_completed_proxy_server_;
79 HostPortPair on_tunnel_headers_received_origin_; 80 HostPortPair on_tunnel_headers_received_origin_;
80 HostPortPair on_tunnel_headers_received_proxy_server_; 81 HostPortPair on_tunnel_headers_received_proxy_server_;
81 std::string on_tunnel_headers_received_status_line_; 82 std::string on_tunnel_headers_received_status_line_;
82 }; 83 };
83 84
84 } // namespace net 85 } // namespace net
85 86
86 #endif // NET_BASE_TEST_PROXY_DELEGATE_H_ 87 #endif // NET_BASE_TEST_PROXY_DELEGATE_H_
OLDNEW
« no previous file with comments | « net/base/proxy_delegate.h ('k') | net/base/test_proxy_delegate.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698