| Index: components/data_reduction_proxy/core/browser/data_reduction_proxy_bypass_protocol_unittest.cc
|
| diff --git a/components/data_reduction_proxy/core/browser/data_reduction_proxy_bypass_protocol_unittest.cc b/components/data_reduction_proxy/core/browser/data_reduction_proxy_bypass_protocol_unittest.cc
|
| index 38b3e98644faec6c1d995021a3943753179f37b5..561204eb4d6c8833c7da83c0b2ece21b53953af4 100644
|
| --- a/components/data_reduction_proxy/core/browser/data_reduction_proxy_bypass_protocol_unittest.cc
|
| +++ b/components/data_reduction_proxy/core/browser/data_reduction_proxy_bypass_protocol_unittest.cc
|
| @@ -337,21 +337,22 @@ TEST_F(DataReductionProxyProtocolTest, TestIdempotency) {
|
| { "PUT", true },
|
| { "DELETE", true },
|
| { "TRACE", true },
|
| { "POST", false },
|
| { "CONNECT", false },
|
| };
|
| for (size_t i = 0; i < arraysize(tests); ++i) {
|
| std::unique_ptr<net::URLRequest> request(context.CreateRequest(
|
| GURL("http://www.google.com/"), net::DEFAULT_PRIORITY, NULL));
|
| request->set_method(tests[i].method);
|
| - EXPECT_EQ(tests[i].expected_result, IsMethodIdempotent(request->method()));
|
| + EXPECT_EQ(tests[i].expected_result,
|
| + util::IsMethodIdempotent(request->method()));
|
| }
|
| }
|
|
|
| // After each test, the proxy retry info will contain zero, one, or two of the
|
| // data reduction proxies depending on whether no bypass was indicated by the
|
| // initial response, a single proxy bypass was indicated, or a double bypass
|
| // was indicated. In both the single and double bypass cases, if the request
|
| // was idempotent, it will be retried over a direct connection.
|
| TEST_F(DataReductionProxyProtocolTest, BypassLogic) {
|
| const struct {
|
|
|