• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1 // Copyright 2024 The Chromium Authors
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 NET_SHARED_DICTIONARY_SHARED_DICTIONARY_CONSTANTS_H_
6 #define NET_SHARED_DICTIONARY_SHARED_DICTIONARY_CONSTANTS_H_
7 
8 namespace net::shared_dictionary {
9 
10 // The content encoding name of Dictionary-Compressed Brotli.
11 static constexpr char kSharedBrotliContentEncodingName[] = "dcb";
12 
13 // The content encoding name of Dictionary-Compressed Zstandard.
14 static constexpr char kSharedZstdContentEncodingName[] = "dcz";
15 
16 // The header name of "available-dictionary".
17 static constexpr char kAvailableDictionaryHeaderName[] = "available-dictionary";
18 
19 }  // namespace net::shared_dictionary
20 
21 #endif  // NET_SHARED_DICTIONARY_SHARED_DICTIONARY_CONSTANTS_H_
22