Index: chrome/browser/profiles/profiles_state.h |
diff --git a/chrome/browser/profiles/profiles_state.h b/chrome/browser/profiles/profiles_state.h |
index 39aae3dafd1cf9fe98f3d939c46391df649b5e08..e6dd1adf577dc4de7185c6f546605f5114d0c713 100644 |
--- a/chrome/browser/profiles/profiles_state.h |
+++ b/chrome/browser/profiles/profiles_state.h |
@@ -68,6 +68,11 @@ void UpdateGaiaProfilePhotoIfNeeded(Profile* profile); |
// NULL. |
SigninErrorController* GetSigninErrorController(Profile* profile); |
+// If the current active profile (given by prefs::kProfileLastUsed) is locked, |
+// changes the active profile to the Guest profile. This assumes that the Guest |
+// profile has been loaded. |
+void SetActiveProfileToGuestIfLocked(); |
+ |
} // namespace profiles |
#endif // CHROME_BROWSER_PROFILES_PROFILES_STATE_H_ |