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..3ddf69bb6997a28197818f86c564faa0a6be9a4a 100644 |
--- a/chrome/browser/profiles/profiles_state.h |
+++ b/chrome/browser/profiles/profiles_state.h |
@@ -73,9 +73,10 @@ 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 had been Guest before calling or became Guest as a result of this |
+// method. |
+bool SetActiveProfileToGuestIfLocked(); |
} // namespace profiles |