Index: chrome/browser/profiles/profiles_state.h |
diff --git a/chrome/browser/profiles/profiles_state.h b/chrome/browser/profiles/profiles_state.h |
index 846d2b282b60b137023dfe238d76b8f734b4ca4e..ab76642a3e6f1eb2f8964b7c9ce043542ba52075 100644 |
--- a/chrome/browser/profiles/profiles_state.h |
+++ b/chrome/browser/profiles/profiles_state.h |
@@ -43,6 +43,11 @@ std::vector<std::string> GetSecondaryAccountsForProfile( |
Profile* profile, |
const std::string& primary_account); |
+// 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_ |