// 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_STATUS_H_ #define COMPONENTS_WEBCRYPTO_STATUS_H_ #include <stddef.h> #include <string> #include <string_view> #include "third_party/blink/public/platform/web_crypto.h" namespace webcrypto { // Status indicates whether an operation completed successfully, or with an // error. The error is used for verification in unit-tests, as well as for // display to the user. // // As such, it is important that errors DO NOT reveal any sensitive material // (like key bytes). class Status { … }; } // namespace webcrypto #endif // COMPONENTS_WEBCRYPTO_STATUS_H_