Index: chrome/browser/ui/browser_finder.h |
diff --git a/chrome/browser/ui/browser_finder.h b/chrome/browser/ui/browser_finder.h |
index 8425c9f055cc6ec14d6ce02f41b7be101ef145a3..49482f3d831efe19da596389e6998cba06a0929e 100644 |
--- a/chrome/browser/ui/browser_finder.h |
+++ b/chrome/browser/ui/browser_finder.h |
@@ -47,6 +47,11 @@ Browser* FindAnyBrowser(Profile* profile, |
// exists. |
Browser* FindBrowserWithProfile(Profile* profile, HostDesktopType type); |
+// Retrieve all tabbed browser for a profile. |
+// |type| refers to the host desktop the returned browser should belong to. |
+std::vector<Browser*> FindAllTabbedBrowsersWithProfile(Profile* profile, |
+ HostDesktopType type); |
Avi (use Gerrit)
2016/01/08 17:11:39
I feel skeptical when a feature needs new function
GeorgeZ
2016/01/08 19:39:02
This is a very good point. I had no knowledge of B
|
+ |
// Find an existing browser with the provided ID. Returns NULL if no such |
// browser currently exists. |
Browser* FindBrowserWithID(SessionID::id_type desired_id); |