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

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

Issue 12213074: BrowserList iterator methods have been phased out, delete them! (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: 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 | « no previous file | chrome/browser/ui/browser_list.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/ui/browser_list.h
diff --git a/chrome/browser/ui/browser_list.h b/chrome/browser/ui/browser_list.h
index beb7001415390eb08859f383ad507b29c3185097..43157b97c2d736d9b7d9c5712ce246871c09b5dd 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|.
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();
« no previous file with comments | « no previous file | chrome/browser/ui/browser_list.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698