• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
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 #include "absl/strings/string_view.h"
10 
11 namespace quiche {
12 
13 // Invoke some platform-specific action based on header key.
QuicheHandleHeaderPolicy(absl::string_view key)14 inline void QuicheHandleHeaderPolicy(absl::string_view key) {
15   QuicheHandleHeaderPolicyImpl(key);
16 }
17 
18 }  // namespace quiche
19 
20 #endif  // QUICHE_COMMON_PLATFORM_API_QUICHE_HEADER_POLICY_H_
21