#include "components/os_crypt/async/common/encryptor_mojom_traits.h"
#include <algorithm>
#include <map>
#include <optional>
#include <string>
#include <vector>
#include "components/os_crypt/async/common/algorithm.mojom.h"
#include "components/os_crypt/async/common/encryptor.h"
#include "components/os_crypt/async/common/encryptor.mojom.h"
#include "mojo/public/cpp/bindings/struct_traits.h"
#if BUILDFLAG(IS_WIN)
#include <windows.h>
#include <dpapi.h>
#include "base/feature_list.h"
#include "components/os_crypt/async/common/encryptor_features.h"
#endif
namespace mojo {
bool StructTraits<os_crypt_async::mojom::EncryptorDataView,
os_crypt_async::Encryptor>::
Read(os_crypt_async::mojom::EncryptorDataView data,
os_crypt_async::Encryptor* out) { … }
const std::string& StructTraits<os_crypt_async::mojom::EncryptorDataView,
os_crypt_async::Encryptor>::
provider_for_encryption(const os_crypt_async::Encryptor& in) { … }
const std::map<std::string, os_crypt_async::Encryptor::Key>& StructTraits<
os_crypt_async::mojom::EncryptorDataView,
os_crypt_async::Encryptor>::key_entries(const os_crypt_async::Encryptor&
in) { … }
bool StructTraits<os_crypt_async::mojom::KeyDataView,
os_crypt_async::Encryptor::Key>::
Read(os_crypt_async::mojom::KeyDataView data,
os_crypt_async::Encryptor::Key* out) { … }
const os_crypt_async::mojom::Algorithm&
StructTraits<os_crypt_async::mojom::KeyDataView,
os_crypt_async::Encryptor::Key>::
algorithm(const os_crypt_async::Encryptor::Key& in) { … }
base::UnsafeSharedMemoryRegion StructTraits<os_crypt_async::mojom::KeyDataView,
os_crypt_async::Encryptor::Key>::
key(const os_crypt_async::Encryptor::Key& in) { … }
}