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()12base::Lock& GetMacSecurityServicesLock() { 13 static base::NoDestructor<base::Lock> lock; 14 return *lock; 15 } 16 17 } // namespace crypto 18