// Copyright 2014 The Chromium Authors // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include "components/webcrypto/algorithm_registry.h" #include "base/no_destructor.h" #include "components/webcrypto/algorithm_implementation.h" #include "components/webcrypto/algorithm_implementations.h" #include "components/webcrypto/status.h" namespace webcrypto { namespace { // This class is used as a singleton. All methods must be threadsafe. class AlgorithmRegistry { … }; } // namespace Status GetAlgorithmImplementation(blink::WebCryptoAlgorithmId id, const AlgorithmImplementation** impl) { … } } // namespace webcrypto