#include "chrome/browser/ui/views/profiles/profiles_pixel_test_utils.h"
#include <memory>
#include "base/command_line.h"
#include "base/scoped_environment_variable_override.h"
#include "base/test/scoped_feature_list.h"
#include "chrome/browser/signin/identity_manager_factory.h"
#include "chrome/common/chrome_features.h"
#include "components/signin/public/base/signin_buildflags.h"
#include "components/signin/public/base/signin_switches.h"
#include "components/signin/public/identity_manager/account_capabilities_test_mutator.h"
#include "components/signin/public/identity_manager/account_info.h"
#include "components/signin/public/identity_manager/identity_test_environment.h"
#include "components/signin/public/identity_manager/identity_test_utils.h"
#include "components/signin/public/identity_manager/tribool.h"
#include "ui/base/ui_base_features.h"
#include "ui/base/ui_base_switches.h"
#include "ui/gfx/image/image_skia.h"
#include "ui/gfx/image/image_unittest_util.h"
AccountInfo FillAccountInfo(
const CoreAccountInfo& core_info,
AccountManagementStatus management_status,
signin::Tribool
can_show_history_sync_opt_ins_without_minor_mode_restrictions) { … }
AccountInfo SignInWithAccount(
signin::IdentityTestEnvironment& identity_test_env,
AccountManagementStatus management_status,
std::optional<signin::ConsentLevel> consent_level,
signin::Tribool
can_show_history_sync_opt_ins_without_minor_mode_restrictions) { … }
void SetUpPixelTestCommandLine(
const PixelTestParam& params,
std::unique_ptr<base::ScopedEnvironmentVariableOverride>& env_variables,
base::CommandLine* command_line) { … }
void InitPixelTestFeatures(const PixelTestParam& params,
base::test::ScopedFeatureList& feature_list) { … }