blob: 15aa0dee173963f8306c0937f9128a2b96de3cee [file] [log] [blame]
// Copyright 2017 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "chrome/test/data/webui/signin_browsertest.h"
#include "chrome/browser/signin/scoped_account_consistency.h"
#include "components/unified_consent/scoped_unified_consent.h"
SigninBrowserTest::SigninBrowserTest() {}
SigninBrowserTest::~SigninBrowserTest() {}
void SigninBrowserTest::EnableDice() {
scoped_account_consistency_ = std::make_unique<ScopedAccountConsistency>(
signin::AccountConsistencyMethod::kDice);
}
void SigninBrowserTest::EnableUnity() {
EnableDice();
scoped_unified_consent_ =
std::make_unique<unified_consent::ScopedUnifiedConsent>(
unified_consent::UnifiedConsentFeatureState::kEnabledNoBump);
}