mac_security_services_lock.cc 441 B

1234567891011121314151617
  1. // Copyright (c) 2011 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. #include "crypto/mac_security_services_lock.h"
  5. #include "base/no_destructor.h"
  6. #include "base/synchronization/lock.h"
  7. namespace crypto {
  8. base::Lock& GetMacSecurityServicesLock() {
  9. static base::NoDestructor<base::Lock> lock;
  10. return *lock;
  11. }
  12. } // namespace crypto