1 // Copyright 2022 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 QUICHE_COMMON_PLATFORM_API_QUICHE_HEADER_POLICY_H_ 6 #define QUICHE_COMMON_PLATFORM_API_QUICHE_HEADER_POLICY_H_ 7 8 #include "quiche_platform_impl/quiche_header_policy_impl.h" 9 10 #include "absl/strings/string_view.h" 11 12 namespace quiche { 13 14 // Invoke some platform-specific action based on header key. QuicheHandleHeaderPolicy(absl::string_view key)15inline void QuicheHandleHeaderPolicy(absl::string_view key) { 16 QuicheHandleHeaderPolicyImpl(key); 17 } 18 19 } // namespace quiche 20 21 #endif // QUICHE_COMMON_PLATFORM_API_QUICHE_HEADER_POLICY_H_ 22