| Index: chrome/browser/signin/screenlock_bridge.cc
|
| diff --git a/chrome/browser/signin/screenlock_bridge.cc b/chrome/browser/signin/screenlock_bridge.cc
|
| index 1883814d69eb317162f5fc22430941f7b0e1a9d5..89cda91e03ff87e50a955acd8f629b5ae9c86a87 100644
|
| --- a/chrome/browser/signin/screenlock_bridge.cc
|
| +++ b/chrome/browser/signin/screenlock_bridge.cc
|
| @@ -109,10 +109,11 @@ void ScreenlockBridge::UserPodCustomIconOptions::SetHardlockOnClick() {
|
| }
|
|
|
| // static
|
| -std::string ScreenlockBridge::GetAuthenticatedUserEmail(Profile* profile) {
|
| +std::string ScreenlockBridge::GetAuthenticatedUserEmail(
|
| + const Profile* profile) {
|
| // |profile| has to be a signed-in profile with SigninManager already
|
| // created. Otherwise, just crash to collect stack.
|
| - SigninManagerBase* signin_manager =
|
| + const SigninManagerBase* signin_manager =
|
| SigninManagerFactory::GetForProfileIfExists(profile);
|
| return signin_manager->GetAuthenticatedUsername();
|
| }
|
|
|