blob: 85407977065bf7bd16c01e846ba734a75b2eb78c [file] [log] [blame]
// Copyright 2024 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "components/user_manager/fake_user_manager_delegate.h"
#include <string>
#include "base/no_destructor.h"
#include "base/notimplemented.h"
namespace user_manager {
FakeUserManagerDelegate::FakeUserManagerDelegate() = default;
FakeUserManagerDelegate::~FakeUserManagerDelegate() = default;
const std::string& FakeUserManagerDelegate::GetApplicationLocale() {
static const base::NoDestructor<std::string> default_locale("en-US");
return *default_locale;
}
void FakeUserManagerDelegate::OverrideDirHome(const User& primary_user) {
// Do nothing.
}
void FakeUserManagerDelegate::CheckProfileOnLogin(const User& user) {
// Do nothing.
}
void FakeUserManagerDelegate::RemoveProfileByAccountId(
const AccountId& account_id) {
// Do nothing.
}
void FakeUserManagerDelegate::RemoveCryptohomeAsync(
const AccountId& account_id) {
// Do nothing.
}
} // namespace user_manager