1// Copyright 2014 The Chromium Authors. All rights reserved. 2// Use of this source code is governed by a BSD-style license that can be 3// found in the LICENSE file. 4 5#ifndef COMPONENTS_DATA_REDUCTION_PROXY_COMMON_DATA_REDUCTION_PROXY_HEADERS_TEST_UTILS_H_ 6#define COMPONENTS_DATA_REDUCTION_PROXY_COMMON_DATA_REDUCTION_PROXY_HEADERS_TEST_UTILS_H_ 7 8#include <string> 9 10namespace data_reduction_proxy { 11 12// Transform "normal"-looking headers (\n-separated) to the appropriate 13// input format for ParseRawHeaders (\0-separated). 14void HeadersToRaw(std::string* headers); 15 16} // namespace data_reduction_proxy 17#endif // COMPONENTS_DATA_REDUCTION_PROXY_COMMON_DATA_REDUCTION_PROXY_HEADERS_TEST_UTILS_H_ 18