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

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

Issue 12315094: Remove kDefaultHostDesktopType from browser_finder.cc. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fix StartupBrowserCreatorTest.ProfilesWithoutPagesNotLaunched Created 7 years, 10 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_browsertest.cc ('k') | chrome/browser/ui/browser_finder.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/ui/browser_finder.h
diff --git a/chrome/browser/ui/browser_finder.h b/chrome/browser/ui/browser_finder.h
index 8401ebbd41da072ec1e4a85d2a54316c15af4d26..6039a65536f4927524bdebccb458c2f1c7b15538 100644
--- a/chrome/browser/ui/browser_finder.h
+++ b/chrome/browser/ui/browser_finder.h
@@ -82,11 +82,17 @@ Browser* FindLastActiveWithHostDesktopType(HostDesktopType type);
// Returns the number of browsers across all profiles and desktops.
size_t GetTotalBrowserCount();
-// Returns the number of browsers with the Profile |profile|.
-size_t GetBrowserCount(Profile* profile);
+// Returns the number of browsers with the Profile |profile| accross all
+// desktops.
+size_t GetTotalBrowserCountForProfile(Profile* profile);
-// Returns the number of tabbed browsers with the Profile |profile|.
-size_t GetTabbedBrowserCount(Profile* profile);
+// Returns the number of browsers with the Profile |profile| on the desktop
+// defined by |type|.
+size_t GetBrowserCount(Profile* profile, HostDesktopType type);
+
+// Returns the number of tabbed browsers with the Profile |profile| on the
+// desktop defined by |type|.
+size_t GetTabbedBrowserCount(Profile* profile, HostDesktopType type);
} // namespace chrome
« no previous file with comments | « chrome/browser/ui/browser_browsertest.cc ('k') | chrome/browser/ui/browser_finder.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698