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 b63c9dc470a32de0409e722bbe3596ba2a968391..d1fcba8f0a3c48d3fdbe48ddbd578c6d5acbbc00 100644 |
--- a/chrome/browser/extensions/api/screenlock_private/screenlock_private_apitest.cc |
+++ b/chrome/browser/extensions/api/screenlock_private/screenlock_private_apitest.cc |
@@ -56,7 +56,8 @@ class ScreenlockPrivateApiTest : public ExtensionApiTest, |
g_browser_process->profile_manager()->GetProfileInfoCache(); |
size_t index = info_cache.GetIndexOfProfileWithPath(profile()->GetPath()); |
ASSERT_NE(std::string::npos, index); |
- info_cache.SetUserNameOfProfileAtIndex(index, base::UTF8ToUTF16(kTestUser)); |
+ info_cache.SetAuthInfoOfProfileAtIndex(index, kTestGaiaId, |
+ base::UTF8ToUTF16(kTestUser)); |
ExtensionApiTest::SetUpOnMainThread(); |
} |