xref: /aosp_15_r20/external/cronet/crypto/features.h (revision 6777b5387eb2ff775bb5750e3f5d96f37fb7352b)
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 CRYPTO_FEATURES_H_
6 #define CRYPTO_FEATURES_H_
7 
8 #include "base/feature_list.h"
9 #include "build/build_config.h"
10 #include "crypto/crypto_export.h"
11 
12 namespace crypto {
13 
14 #if BUILDFLAG(IS_MAC)
15 // Enable the macOS implementation of unexportable keys.
16 CRYPTO_EXPORT BASE_DECLARE_FEATURE(kEnableMacUnexportableKeys);
17 #endif  // BUILDFLAG(IS_MAC)
18 
19 }  // namespace crypto
20 
21 #endif  // CRYPTO_FEATURES_H_
22