summaryrefslogtreecommitdiff
path: root/chromium/crypto/mac_security_services_lock.cc
blob: bd8af9aec566bd6b1e2f0bac22cbda498a6dbe0d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
// Copyright (c) 2011 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.

#include "crypto/mac_security_services_lock.h"

#include "base/no_destructor.h"
#include "base/synchronization/lock.h"

namespace crypto {

base::Lock& GetMacSecurityServicesLock() {
  static base::NoDestructor<base::Lock> lock;
  return *lock;
}

}  // namespace crypto