| OLD | NEW |
| 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 #include "net/base/test_proxy_delegate.h" | 5 #include "net/base/test_proxy_delegate.h" |
| 6 | 6 |
| 7 #include "net/http/http_request_headers.h" | 7 #include "net/http/http_request_headers.h" |
| 8 #include "net/http/http_response_headers.h" | 8 #include "net/http/http_response_headers.h" |
| 9 #include "testing/gtest/include/gtest/gtest.h" | 9 #include "testing/gtest/include/gtest/gtest.h" |
| 10 | 10 |
| (...skipping 83 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 94 const ProxyServer& alternative_proxy_server) { | 94 const ProxyServer& alternative_proxy_server) { |
| 95 EXPECT_TRUE(alternative_proxy_server.is_valid()); | 95 EXPECT_TRUE(alternative_proxy_server.is_valid()); |
| 96 EXPECT_EQ(alternative_proxy_server_, alternative_proxy_server); | 96 EXPECT_EQ(alternative_proxy_server_, alternative_proxy_server); |
| 97 alternative_proxy_server_ = ProxyServer(); | 97 alternative_proxy_server_ = ProxyServer(); |
| 98 } | 98 } |
| 99 | 99 |
| 100 ProxyServer TestProxyDelegate::GetDefaultAlternativeProxy() const { | 100 ProxyServer TestProxyDelegate::GetDefaultAlternativeProxy() const { |
| 101 return alternative_proxy_server_; | 101 return alternative_proxy_server_; |
| 102 } | 102 } |
| 103 | 103 |
| 104 } // namespace net | 104 } // namespace net |
| OLD | NEW |