#include "chrome/browser/ui/profiles/profile_customization_util.h"
#include <string>
#include "base/run_loop.h"
#include "base/strings/strcat.h"
#include "base/strings/utf_string_conversions.h"
#include "base/test/task_environment.h"
#include "base/test/test_future.h"
#include "components/signin/public/identity_manager/identity_test_environment.h"
#include "testing/gtest/include/gtest/gtest.h"
namespace {
AccountInfo FillAccountInfo(
const CoreAccountInfo& core_info,
const std::string& given_name,
const std::string& hosted_domain = kNoHostedDomainFound) { … }
}
class ProfileNameResolverTest : public testing::Test { … };
TEST_F(ProfileNameResolverTest, RunWithProfileName) { … }
TEST_F(ProfileNameResolverTest, RunWithProfileName_InfoAvailable) { … }
TEST_F(ProfileNameResolverTest, RunWithProfileName_InfoUnvailable) { … }
TEST_F(ProfileNameResolverTest, RunWithProfileName_InfoMissing) { … }