blob: 07c0932573678040afa07fcc1902149fcacae39c [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.
#ifndef COMPONENTS_USER_MANAGER_FAKE_USER_MANAGER_DELEGATE_H_
#define COMPONENTS_USER_MANAGER_FAKE_USER_MANAGER_DELEGATE_H_
#include "components/user_manager/user_manager_export.h"
#include "components/user_manager/user_manager_impl.h"
namespace user_manager {
// Fake implementation of UserManagerImpl::Delegate.
class USER_MANAGER_EXPORT FakeUserManagerDelegate
: public UserManagerImpl::Delegate {
public:
FakeUserManagerDelegate();
FakeUserManagerDelegate(const FakeUserManagerDelegate&) = delete;
FakeUserManagerDelegate& operator=(const FakeUserManagerDelegate&) = delete;
~FakeUserManagerDelegate() override;
// UserManagerImpl::Delegate:
const std::string& GetApplicationLocale() override;
void OverrideDirHome(const User& primary_user) override;
void CheckProfileOnLogin(const User& user) override;
void RemoveProfileByAccountId(const AccountId& account_id) override;
void RemoveCryptohomeAsync(const AccountId& account_id) override;
};
} // namespace user_manager
#endif // COMPONENTS_USER_MANAGER_FAKE_USER_MANAGER_DELEGATE_H_