// 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. #ifndef COMPONENTS_WEBCRYPTO_WEBCRYPTO_IMPL_H_ #define COMPONENTS_WEBCRYPTO_WEBCRYPTO_IMPL_H_ #include "base/compiler_specific.h" #include "base/task/single_thread_task_runner.h" #include "third_party/blink/public/platform/web_crypto.h" #include "third_party/blink/public/platform/web_crypto_algorithm.h" #include "third_party/blink/public/platform/web_vector.h" namespace webcrypto { // Wrapper around the Blink WebCrypto asynchronous interface, which forwards to // the synchronous OpenSSL implementation. // // WebCryptoImpl is threadsafe. // // EnsureInit() must be called prior to using methods on WebCryptoImpl(). class WebCryptoImpl : public blink::WebCrypto { … }; } // namespace webcrypto #endif // COMPONENTS_WEBCRYPTO_WEBCRYPTO_IMPL_H_