mirror of
https://github.com/klzgrad/naiveproxy.git
synced 2024-11-24 06:16:30 +03:00
18 lines
441 B
C++
18 lines
441 B
C++
|
// 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
|