#include "chrome/browser/ui/views/profiles/profile_picker_dice_sign_in_provider.h"
#include "base/functional/callback_helpers.h"
#include "base/test/mock_callback.h"
#include "base/test/scoped_feature_list.h"
#include "chrome/browser/browser_process.h"
#include "chrome/browser/profiles/nuke_profile_directory_utils.h"
#include "chrome/browser/profiles/profile.h"
#include "chrome/browser/profiles/profile_attributes_entry.h"
#include "chrome/browser/profiles/profile_attributes_storage.h"
#include "chrome/browser/profiles/profile_manager.h"
#include "chrome/browser/ui/browser.h"
#include "chrome/browser/ui/views/profiles/profile_picker_web_contents_host.h"
#include "chrome/test/base/in_process_browser_test.h"
#include "chrome/test/base/profile_deletion_observer.h"
#include "components/signin/public/base/signin_metrics.h"
#include "components/signin/public/base/signin_switches.h"
#include "content/public/browser/web_contents.h"
#include "content/public/browser/web_contents_delegate.h"
#include "content/public/test/browser_test.h"
#include "testing/gmock/include/gmock/gmock.h"
#include "testing/gtest/include/gtest/gtest.h"
_;
HasSubstr;
Not;
namespace {
const char kExpectedSigninBaseUrl[] = …;
class MockHost : public ProfilePickerWebContentsHost { … };
Profile* GetContentsProfile(content::WebContents* contents) { … }
}
class ProfilePickerDiceSignInProviderBrowserTest : public InProcessBrowserTest { … };
IN_PROC_BROWSER_TEST_F(ProfilePickerDiceSignInProviderBrowserTest,
SwitchToSignInThenExit) { … }
IN_PROC_BROWSER_TEST_F(ProfilePickerDiceSignInProviderBrowserTest,
SwitchToSignInThenExit_ForFirstRun) { … }