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

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

Issue 12211139: Phase out BrowserList::empty() and BrowserList::size(). (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fix chromeos 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
Index: chrome/browser/ui/browser_list.cc
diff --git a/chrome/browser/ui/browser_list.cc b/chrome/browser/ui/browser_list.cc
index d1af425e2d6fe315f8a8bd4282b46e5701f8afa8..ef5f75f9bec0a78b9884aa7edc45db0a4ef02ecd 100644
--- a/chrome/browser/ui/browser_list.cc
+++ b/chrome/browser/ui/browser_list.cc
@@ -57,16 +57,6 @@ void BrowserList::CloseAllBrowsersWithProfile(Profile* profile) {
}
// static
-bool BrowserList::empty() {
- return GetNativeList()->empty();
-}
-
-// static
-size_t BrowserList::size() {
- return GetNativeList()->size();
-}
-
-// static
void BrowserList::SetLastActive(Browser* browser) {
chrome::BrowserListImpl::GetInstance(browser->host_desktop_type())->
SetLastActive(browser);
« no previous file with comments | « chrome/browser/ui/browser_list.h ('k') | chrome/browser/ui/cocoa/one_click_signin_dialog_controller_browsertest.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698