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

Unified Diff: ios/chrome/browser/tabs/tab_model_list.h

Issue 2615003002: Use ChromeBrowserStateManager instead of BrowserListIOS. (Closed)
Patch Set: Fix ios_chrome_perftests. Created 3 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
« no previous file with comments | « ios/chrome/browser/tabs/BUILD.gn ('k') | ios/chrome/browser/tabs/tab_model_list.mm » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ios/chrome/browser/tabs/tab_model_list.h
diff --git a/ios/chrome/browser/tabs/tab_model_list.h b/ios/chrome/browser/tabs/tab_model_list.h
index bbba49029131339ef3b008a9f97ff20496068431..806fbc90eba6244f3ebf52955ce1c65a028cb05a 100644
--- a/ios/chrome/browser/tabs/tab_model_list.h
+++ b/ios/chrome/browser/tabs/tab_model_list.h
@@ -34,4 +34,12 @@ void UnregisterTabModelFromChromeBrowserState(
NSArray<TabModel*>* GetTabModelsForChromeBrowserState(
ios::ChromeBrowserState* browser_state);
+// Returns the last active TabModel associated with |browser_state|.
+TabModel* GetLastActiveTabModelForChromeBrowserState(
+ ios::ChromeBrowserState* browser_state);
+
+// Returns true if a incognito session is currently active (i.e. at least
+// one incognito tab is open).
+bool IsOffTheRecordSessionActive();
+
#endif // IOS_CHROME_BROWSER_TABS_TAB_MODEL_LIST_H_
« no previous file with comments | « ios/chrome/browser/tabs/BUILD.gn ('k') | ios/chrome/browser/tabs/tab_model_list.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698