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

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

Issue 7134085: Make focus-existing-tab-on-open multi-profile-aware. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: '' Created 9 years, 6 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
Index: chrome/browser/ui/browser_list.h
===================================================================
--- chrome/browser/ui/browser_list.h (revision 88539)
+++ chrome/browser/ui/browser_list.h (working copy)
@@ -154,6 +154,9 @@
return last_active_browsers_.rend();
}
+ // Returns vector of open browsers associated with |profile|.
+ static std::vector<Browser*> GetBrowsersWithProfile(Profile* profile);
+
// Return the number of browsers with the following profile which are
// currently open.
static size_t GetBrowserCount(Profile* profile);

Powered by Google App Engine
This is Rietveld 408576698