Chromium Code Reviews (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out

Unified Diff: chrome/browser/profiles/profiles_state.h

Issue 117533002: [Mac] Redesign of the avatar menu button (Closed) Base URL: svn://
Patch Set: fix tabstrip width Created 6 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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

Powered by Google App Engine
This is Rietveld 408576698