diff options
author | gab@chromium.org <gab@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2013-02-13 13:58:45 +0000 |
---|---|---|
committer | gab@chromium.org <gab@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2013-02-13 13:58:45 +0000 |
commit | 2807ac3acca59a4c34eefc7b2aa404abd1292608 (patch) | |
tree | 2928656eea366f591f0de58929a13230a870a74d | |
parent | ad45d25bcfb85e6ddefeebbcbbb117cec2649e84 (diff) | |
download | chromium_src-2807ac3acca59a4c34eefc7b2aa404abd1292608.zip chromium_src-2807ac3acca59a4c34eefc7b2aa404abd1292608.tar.gz chromium_src-2807ac3acca59a4c34eefc7b2aa404abd1292608.tar.bz2 |
BrowserList iterator methods have been phased out, delete them!
BUG=129187
Review URL: https://codereview.chromium.org/12213074
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@182211 0039d316-1c4b-4281-b951-d872f2087c98
-rw-r--r-- | chrome/browser/ui/browser_list.cc | 10 | ||||
-rw-r--r-- | chrome/browser/ui/browser_list.h | 6 |
2 files changed, 0 insertions, 16 deletions
diff --git a/chrome/browser/ui/browser_list.cc b/chrome/browser/ui/browser_list.cc index 60fbd61..d1af425 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 -BrowserList::const_iterator BrowserList::begin() { - return GetNativeList()->begin(); -} - -// static -BrowserList::const_iterator BrowserList::end() { - return GetNativeList()->end(); -} - -// static bool BrowserList::empty() { return GetNativeList()->empty(); } diff --git a/chrome/browser/ui/browser_list.h b/chrome/browser/ui/browser_list.h index b12fe39..8b3ed14 100644 --- a/chrome/browser/ui/browser_list.h +++ b/chrome/browser/ui/browser_list.h @@ -20,7 +20,6 @@ class BrowserListObserver; class BrowserList { public: typedef std::vector<Browser*> BrowserVector; - typedef BrowserVector::const_iterator const_iterator; typedef BrowserVector::const_reverse_iterator const_reverse_iterator; // Adds and removes browsers from the global list. The browser object should @@ -39,11 +38,6 @@ class BrowserList { // Closes all browsers for |profile| across all desktops. static void CloseAllBrowsersWithProfile(Profile* profile); - // Browsers are added to the list before they have constructed windows, - // so the |window()| member function may return NULL. - static const_iterator begin(); - static const_iterator end(); - static bool empty(); static size_t size(); |