// Copyright 2017 The Chromium Authors // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include "net/url_request/redirect_util.h" #include <string> #include "net/http/http_request_headers.h" #include "net/url_request/redirect_info.h" #include "testing/gmock/include/gmock/gmock.h" #include "testing/gtest/include/gtest/gtest.h" #include "url/gurl.h" namespace net { namespace { TEST(RedirectUtilTest, UpdateHttpRequest) { … } TEST(RedirectUtilTest, RemovedHeaders) { … } // Test with removed_headers = std::nullopt. TEST(RedirectUtilTest, RemovedHeadersNullOpt) { … } // Test with modified_headers = std::nullopt. TEST(RedirectUtilTest, ModifyHeadersNullopt) { … } } // namespace } // namespace net