| Index: chrome/browser/extensions/api/screenlock_private/screenlock_private_apitest.cc
|
| diff --git a/chrome/browser/extensions/api/screenlock_private/screenlock_private_apitest.cc b/chrome/browser/extensions/api/screenlock_private/screenlock_private_apitest.cc
|
| index 9c1b39cf9609bf0b6eff909103afb80fa77e675b..5c792605397ba5cb7337d50fa3106de8222777bb 100644
|
| --- a/chrome/browser/extensions/api/screenlock_private/screenlock_private_apitest.cc
|
| +++ b/chrome/browser/extensions/api/screenlock_private/screenlock_private_apitest.cc
|
| @@ -22,6 +22,7 @@ namespace extensions {
|
|
|
| namespace {
|
|
|
| +const char kTestGaiaId[] = "gaia-id-testuser@gmail.com";
|
| const char kAttemptClickAuthMessage[] = "attemptClickAuth";
|
| const char kTestExtensionId[] = "lkegkdgachcnekllcdfkijonogckdnjo";
|
| const char kTestUser[] = "testuser@gmail.com";
|
| @@ -49,7 +50,7 @@ class ScreenlockPrivateApiTest : public ExtensionApiTest,
|
|
|
| void SetUpOnMainThread() override {
|
| SigninManagerFactory::GetForProfile(profile())
|
| - ->SetAuthenticatedUsername(kTestUser);
|
| + ->SetAuthenticatedAccountInfo(kTestGaiaId, kTestUser);
|
| ProfileInfoCache& info_cache =
|
| g_browser_process->profile_manager()->GetProfileInfoCache();
|
| size_t index = info_cache.GetIndexOfProfileWithPath(profile()->GetPath());
|
|
|