| Index: components/data_reduction_proxy/core/common/data_reduction_proxy_util.h
|
| diff --git a/components/data_reduction_proxy/core/common/data_reduction_proxy_headers_test_utils.h b/components/data_reduction_proxy/core/common/data_reduction_proxy_util.h
|
| similarity index 54%
|
| copy from components/data_reduction_proxy/core/common/data_reduction_proxy_headers_test_utils.h
|
| copy to components/data_reduction_proxy/core/common/data_reduction_proxy_util.h
|
| index 2a6f0479d41193be4a55ce98e7117c10d38fa5f7..c3ed69658625e1d4db540f46250966e4e858ccac 100644
|
| --- a/components/data_reduction_proxy/core/common/data_reduction_proxy_headers_test_utils.h
|
| +++ b/components/data_reduction_proxy/core/common/data_reduction_proxy_util.h
|
| @@ -1,17 +1,16 @@
|
| -// Copyright 2014 The Chromium Authors. All rights reserved.
|
| +// Copyright 2016 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_CORE_COMMON_DATA_REDUCTION_PROXY_HEADERS_TEST_UTILS_H_
|
| -#define COMPONENTS_DATA_REDUCTION_PROXY_CORE_COMMON_DATA_REDUCTION_PROXY_HEADERS_TEST_UTILS_H_
|
| +#ifndef COMPONENTS_DATA_REDUCTION_PROXY_CORE_COMMON_DATA_REDUCTION_PROXY_UTIL_H_
|
| +#define COMPONENTS_DATA_REDUCTION_PROXY_CORE_COMMON_DATA_REDUCTION_PROXY_UTIL_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);
|
| +// Returns true if the request method is idempotent.
|
| +bool IsMethodIdempotent(const std::string& method);
|
|
|
| } // namespace data_reduction_proxy
|
| -#endif // COMPONENTS_DATA_REDUCTION_PROXY_CORE_COMMON_DATA_REDUCTION_PROXY_HEADERS_TEST_UTILS_H_
|
| +#endif // COMPONENTS_DATA_REDUCTION_PROXY_CORE_COMMON_DATA_REDUCTION_PROXY_UTIL_H_
|
|
|