Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(2276)

Unified Diff: chrome/browser/ui/browser_list.h

Issue 7622005: Ensure that incognito profiles are correctly destroyed when all incognito windows belonging to a ... (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: '' Created 9 years, 4 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
« no previous file with comments | « chrome/browser/ui/browser.cc ('k') | chrome/browser/ui/browser_list.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/ui/browser_list.h
===================================================================
--- chrome/browser/ui/browser_list.h (revision 96525)
+++ chrome/browser/ui/browser_list.h (working copy)
@@ -195,6 +195,9 @@
// Returns true if at least one incognito session is active.
static bool IsOffTheRecordSessionActive();
+ // Returns true if at least one incognito session is active for |profile|.
+ static bool IsOffTheRecordSessionActiveForProfile(Profile* profile);
+
// Send out notifications.
// For ChromeOS, also request session manager to end the session.
static void NotifyAndTerminate(bool fast_path);
« no previous file with comments | « chrome/browser/ui/browser.cc ('k') | chrome/browser/ui/browser_list.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698