#include "components/os_crypt/sync/key_storage_kwallet.h"
#include <optional>
#include <tuple>
#include <utility>
#include "base/base64.h"
#include "base/functional/bind.h"
#include "base/notreached.h"
#include "base/rand_util.h"
#include "components/os_crypt/sync/kwallet_dbus.h"
#include "dbus/bus.h"
KeyStorageKWallet::KeyStorageKWallet(base::nix::DesktopEnvironment desktop_env,
std::string app_name)
: … { … }
KeyStorageKWallet::~KeyStorageKWallet() { … }
bool KeyStorageKWallet::Init() { … }
bool KeyStorageKWallet::InitWithKWalletDBus(
std::unique_ptr<KWalletDBus> mock_kwallet_dbus_ptr) { … }
KeyStorageKWallet::InitResult KeyStorageKWallet::InitWallet() { … }
std::optional<std::string> KeyStorageKWallet::GetKeyImpl() { … }
bool KeyStorageKWallet::InitFolder() { … }
std::optional<std::string> KeyStorageKWallet::GenerateAndStorePassword() { … }