Index: components/data_reduction_proxy/common/data_reduction_proxy_headers_unittest.cc |
diff --git a/components/data_reduction_proxy/common/data_reduction_proxy_headers_unittest.cc b/components/data_reduction_proxy/common/data_reduction_proxy_headers_unittest.cc |
index 61bad7e5b15cca8e24268b2a6d4206ecee677d64..a8984cea7dc64e4d8538f6774c8ce9c51e271fc7 100644 |
--- a/components/data_reduction_proxy/common/data_reduction_proxy_headers_unittest.cc |
+++ b/components/data_reduction_proxy/common/data_reduction_proxy_headers_unittest.cc |
@@ -6,22 +6,11 @@ |
#include <vector> |
+#include "components/data_reduction_proxy/common/data_reduction_proxy_headers_test_utils.h" |
#include "net/http/http_response_headers.h" |
#include "net/proxy/proxy_service.h" |
#include "testing/gtest/include/gtest/gtest.h" |
-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 { |
class DataReductionProxyHeadersTest : public testing::Test {}; |