Index: chrome/browser/ui/browser_finder.h |
diff --git a/chrome/browser/ui/browser_finder.h b/chrome/browser/ui/browser_finder.h |
index 731806cd793a34534e9dc5f088da3b13b274c109..34d3f685c0c82d29c6464cfcf19b40d3a6f1809a 100644 |
--- a/chrome/browser/ui/browser_finder.h |
+++ b/chrome/browser/ui/browser_finder.h |
@@ -65,6 +65,12 @@ Browser* FindBrowserForController( |
// NULL. WARNING: see warnings in BrowserList::GetLastActive(). |
Browser* FindLastActiveWithProfile(Profile* profile); |
+// Identical in behavior to BrowserList::GetLastActive(), except that the most |
+// recently open browser owned on the desktop described by |type| is returned. |
+// If none exist, returns NULL. WARNING: see warnings in |
+// BrowserList::GetLastActive(). |
+Browser* FindLastActiveWithHostDesktopType(chrome::HostDesktopType type); |
+ |
// Returns the number of browsers with the Profile |profile|. |
size_t GetBrowserCount(Profile* profile); |