| Index: chrome/browser/signin/screenlock_bridge.cc
|
| diff --git a/chrome/browser/signin/screenlock_bridge.cc b/chrome/browser/signin/screenlock_bridge.cc
|
| index 586ed485f5f16e698a2309f6f84f39bcde7a5d96..db80a2d9c8a16e84fd18e04ae4203a71ea96c4c8 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();
|
| }
|
|
|