Index: chrome/browser/ui/browser_finder.h |
diff --git a/chrome/browser/ui/browser_finder.h b/chrome/browser/ui/browser_finder.h |
index 15e1128706373059a69b758335b2fab3ef27af1e..87718c1cf0d579a345a59250dbdbc88050b52e23 100644 |
--- a/chrome/browser/ui/browser_finder.h |
+++ b/chrome/browser/ui/browser_finder.h |
@@ -19,19 +19,30 @@ class WebContents; |
namespace browser { |
+// Deprecated: |
+Browser* FindTabbedBrowser(Profile* profile, |
+ bool match_original_profiles); |
+ |
// Retrieve the last active tabbed browser with a profile matching |profile|. |
// If |match_original_profiles| is true, matching is done based on the |
// original profile, eg profile->GetOriginalProfile() == |
// browser->profile()->GetOriginalProfile(). This has the effect of matching |
// against both non-incognito and incognito profiles. If |
// |match_original_profiles| is false, only an exact match may be returned. |
-Browser* FindTabbedBrowser(Profile* profile, bool match_original_profiles); |
+// |type| refers to the host desktop the returned browser should belong to. |
+Browser* FindTabbedBrowser(Profile* profile, |
+ bool match_original_profiles, |
+ chrome::HostDesktopType type); |
-// Returns the first tabbed browser matching |profile|. If there is no tabbed |
-// browser a new one is created and returned. If a new browser is created it is |
-// not made visible. |
+// Deprecated |
Browser* FindOrCreateTabbedBrowser(Profile* profile); |
+// Returns the first tabbed browser matching |profile|. If there is no tabbed |
+// browser a new one is created and returned for the desktop specified by |
+// |type|. If a new browser is created it is not made visible. |
+Browser* FindOrCreateTabbedBrowser(Profile* profile, |
+ chrome::HostDesktopType type); |
+ |
// Find an existing browser window with any type. See comment above for |
// additional information. |
Browser* FindAnyBrowser(Profile* profile, bool match_original_profiles); |