Index: chrome/browser/profiles/profiles_state.h |
diff --git a/chrome/browser/profiles/profiles_state.h b/chrome/browser/profiles/profiles_state.h |
index 782fb3adf330a84dd0f469922125cd1fb5579fff..67183191867348aaab67c9059523fe654d7a8a0b 100644 |
--- a/chrome/browser/profiles/profiles_state.h |
+++ b/chrome/browser/profiles/profiles_state.h |
@@ -35,6 +35,11 @@ base::string16 GetActiveProfileDisplayName(Browser* browser); |
void UpdateProfileName(Profile* profile, |
const base::string16& new_profile_name); |
+// Returns whether the |browser|'s profile is a non-incognito or guest profile. |
+// The distinction is needed because guest profiles are implemented as |
+// incognito profiles. |
+bool IsRegularOrGuestSession(Browser* browser); |
+ |
} // namespace profiles |
#endif // CHROME_BROWSER_PROFILES_PROFILES_STATE_H_ |