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

Unified Diff: net/base/test_proxy_delegate.cc

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, 10 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « net/base/test_proxy_delegate.h ('k') | net/http/http_stream_factory_impl_job.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/base/test_proxy_delegate.cc
diff --git a/net/base/test_proxy_delegate.cc b/net/base/test_proxy_delegate.cc
index d4a3c61712f13e98eaa13454dc24fffa76627681..da7693bd2a89edaccae50033eabf20681c9cddfd 100644
--- a/net/base/test_proxy_delegate.cc
+++ b/net/base/test_proxy_delegate.cc
@@ -33,20 +33,21 @@ void TestProxyDelegate::VerifyOnTunnelHeadersReceived(
const std::string& status_line) const {
EXPECT_TRUE(on_tunnel_headers_received_called_);
EXPECT_TRUE(HostPortPair::FromString(origin).Equals(
on_tunnel_headers_received_origin_));
EXPECT_TRUE(HostPortPair::FromString(proxy_server)
.Equals(on_tunnel_headers_received_proxy_server_));
EXPECT_EQ(status_line, on_tunnel_headers_received_status_line_);
}
void TestProxyDelegate::OnResolveProxy(const GURL& url,
+ const std::string& method,
int load_flags,
const ProxyService& proxy_service,
ProxyInfo* result) {}
void TestProxyDelegate::OnTunnelConnectCompleted(
const HostPortPair& endpoint,
const HostPortPair& proxy_server,
int net_error) {
on_tunnel_request_completed_called_ = true;
on_tunnel_request_completed_endpoint_ = endpoint;
« no previous file with comments | « net/base/test_proxy_delegate.h ('k') | net/http/http_stream_factory_impl_job.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698