| Index: components/data_reduction_proxy/browser/data_reduction_proxy_protocol_unittest.cc
|
| diff --git a/components/data_reduction_proxy/browser/data_reduction_proxy_protocol_unittest.cc b/components/data_reduction_proxy/browser/data_reduction_proxy_protocol_unittest.cc
|
| index 77e1568c713049085eec848b6a01e6fd806f090c..1d956a34e835f95e2d157ac59c7e2235803fb700 100644
|
| --- a/components/data_reduction_proxy/browser/data_reduction_proxy_protocol_unittest.cc
|
| +++ b/components/data_reduction_proxy/browser/data_reduction_proxy_protocol_unittest.cc
|
| @@ -13,6 +13,7 @@
|
| #include "base/strings/stringprintf.h"
|
| #include "components/data_reduction_proxy/browser/data_reduction_proxy_params_test_utils.h"
|
| #include "components/data_reduction_proxy/common/data_reduction_proxy_headers.h"
|
| +#include "components/data_reduction_proxy/common/data_reduction_proxy_headers_test_utils.h"
|
| #include "net/base/completion_callback.h"
|
| #include "net/base/host_port_pair.h"
|
| #include "net/base/load_flags.h"
|
| @@ -39,18 +40,6 @@ using net::URLRequest;
|
| using net::TestURLRequestContext;
|
|
|
|
|
| -namespace {
|
| -// Transform "normal"-looking headers (\n-separated) to the appropriate
|
| -// input format for ParseRawHeaders (\0-separated).
|
| -void HeadersToRaw(std::string* headers) {
|
| - std::replace(headers->begin(), headers->end(), '\n', '\0');
|
| - if (!headers->empty())
|
| - *headers += '\0';
|
| -}
|
| -
|
| -} // namespace
|
| -
|
| -
|
| namespace data_reduction_proxy {
|
|
|
| // A test network delegate that exercises the bypass logic of the data
|
|
|