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

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

Issue 1659203002: Remove HostDesktopType from FindLastActive[WithProfile] (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: nullptr Created 4 years, 11 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_finder.h ('k') | chrome/browser/ui/cocoa/browser_window_cocoa.mm » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/ui/browser_finder.cc
diff --git a/chrome/browser/ui/browser_finder.cc b/chrome/browser/ui/browser_finder.cc
index e79cae3a6f0624a1c2837170456e20d979542d2c..159e1eb2cf16451e920f7ceb83e64ea0f1c66321 100644
--- a/chrome/browser/ui/browser_finder.cc
+++ b/chrome/browser/ui/browser_finder.cc
@@ -201,7 +201,7 @@ Browser* FindBrowserWithWebContents(const WebContents* web_contents) {
return NULL;
}
-Browser* FindLastActiveWithProfile(Profile* profile, HostDesktopType type) {
+Browser* FindLastActiveWithProfile(Profile* profile) {
BrowserList* list = BrowserList::GetInstance();
// We are only interested in last active browsers, so we don't fall back to
// all browsers like FindBrowserWith* do.
@@ -209,7 +209,7 @@ Browser* FindLastActiveWithProfile(Profile* profile, HostDesktopType type) {
profile, Browser::FEATURE_NONE, kMatchAny);
}
-Browser* FindLastActiveWithHostDesktopType(HostDesktopType type) {
+Browser* FindLastActive() {
BrowserList* browser_list_impl = BrowserList::GetInstance();
if (browser_list_impl)
return browser_list_impl->GetLastActive();
« no previous file with comments | « chrome/browser/ui/browser_finder.h ('k') | chrome/browser/ui/cocoa/browser_window_cocoa.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698