#include "components/os_crypt/sync/key_storage_libsecret.h"
#include "base/base64.h"
#include "base/logging.h"
#include "base/rand_util.h"
#include "base/strings/string_number_conversions.h"
#include "base/time/time.h"
#include "build/branding_buildflags.h"
#include "components/os_crypt/sync/libsecret_util_linux.h"
namespace {
const SecretSchema kKeystoreSchemaV2 = …;
SecretValue* ToSingleSecret(GList* secret_items) { … }
void AnalyseKeyHistory(GList* secret_items) { … }
}
KeyStorageLibsecret::KeyStorageLibsecret(std::string application_name)
: … { … }
std::optional<std::string> KeyStorageLibsecret::AddRandomPasswordInLibsecret() { … }
std::optional<std::string> KeyStorageLibsecret::GetKeyImpl() { … }
bool KeyStorageLibsecret::Init() { … }