Chromium Code Reviews| Index: chrome/browser/profiles/profiles_state.h |
| diff --git a/chrome/browser/profiles/profiles_state.h b/chrome/browser/profiles/profiles_state.h |
| index 71bb26760cca745856dd24cd348fec85a23ea79b..6142f9d5cf144f56f8bd962a8b06c6111dd5fec1 100644 |
| --- a/chrome/browser/profiles/profiles_state.h |
| +++ b/chrome/browser/profiles/profiles_state.h |
| @@ -73,9 +73,9 @@ void UpdateGaiaProfileInfoIfNeeded(Profile* profile); |
| SigninErrorController* GetSigninErrorController(Profile* profile); |
| // If the current active profile (given by prefs::kProfileLastUsed) is locked, |
| -// changes the active profile to the Guest profile and returns it, otherwise |
| -// returns NULL. This assumes that the Guest profile has been loaded. |
| -Profile* SetActiveProfileToGuestIfLocked(); |
| +// changes the active profile to the Guest profile. Returns true if the active |
| +// profile is now guest. |
|
noms (inactive)
2015/01/29 16:15:13
Hmm, this comment is a bit confusing. Why wouldn't
Mike Lerman
2015/01/29 16:51:40
Done.
|
| +bool SetActiveProfileToGuestIfLocked(); |
| } // namespace profiles |