xref: /aosp_15_r20/external/cronet/crypto/mac_security_services_lock.cc (revision 6777b5387eb2ff775bb5750e3f5d96f37fb7352b)
1 // Copyright 2011 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 #include "crypto/mac_security_services_lock.h"
6 
7 #include "base/no_destructor.h"
8 #include "base/synchronization/lock.h"
9 
10 namespace crypto {
11 
GetMacSecurityServicesLock()12 base::Lock& GetMacSecurityServicesLock() {
13   static base::NoDestructor<base::Lock> lock;
14   return *lock;
15 }
16 
17 }  // namespace crypto
18