Index: components/data_reduction_proxy/common/data_reduction_proxy_headers_test_utils.h |
diff --git a/components/data_reduction_proxy/common/data_reduction_proxy_headers_test_utils.h b/components/data_reduction_proxy/common/data_reduction_proxy_headers_test_utils.h |
new file mode 100644 |
index 0000000000000000000000000000000000000000..143dcd5d24d0328bfa734ca2cbcee4591449494a |
--- /dev/null |
+++ b/components/data_reduction_proxy/common/data_reduction_proxy_headers_test_utils.h |
@@ -0,0 +1,17 @@ |
+// Copyright 2014 The Chromium Authors. All rights reserved. |
+// Use of this source code is governed by a BSD-style license that can be |
+// found in the LICENSE file. |
+ |
+#ifndef COMPONENTS_DATA_REDUCTION_PROXY_COMMON_DATA_REDUCTION_PROXY_HEADERS_TEST_UTILS_H_ |
+#define COMPONENTS_DATA_REDUCTION_PROXY_COMMON_DATA_REDUCTION_PROXY_HEADERS_TEST_UTILS_H_ |
+ |
+#include <string> |
+ |
+namespace data_reduction_proxy { |
+ |
+// Transform "normal"-looking headers (\n-separated) to the appropriate |
+// input format for ParseRawHeaders (\0-separated). |
+void HeadersToRaw(std::string* headers); |
+ |
+} // namespace data_reduction_proxy |
+#endif // COMPONENTS_DATA_REDUCTION_PROXY_COMMON_DATA_REDUCTION_PROXY_HEADERS_TEST_UTILS_H_ |