| Index: chrome/browser/ui/browser_list.h
|
| diff --git a/chrome/browser/ui/browser_list.h b/chrome/browser/ui/browser_list.h
|
| index 447f6cb907cb255bfbb90baad7af1f46d35c752a..700c51a5fe82fbc412e844e22d9618e04220c924 100644
|
| --- a/chrome/browser/ui/browser_list.h
|
| +++ b/chrome/browser/ui/browser_list.h
|
| @@ -170,25 +170,20 @@ class BrowserList {
|
| // closes.
|
| static bool WillKeepAlive();
|
|
|
| - // Browsers are added to |browsers_| before they have constructed windows,
|
| + // Browsers are added to the list before they have constructed windows,
|
| // so the |window()| member function may return NULL.
|
| - static const_iterator begin() { return browsers_.begin(); }
|
| - static const_iterator end() { return browsers_.end(); }
|
| + static const_iterator begin();
|
| + static const_iterator end();
|
|
|
| - static bool empty() { return browsers_.empty(); }
|
| - static size_t size() { return browsers_.size(); }
|
| + static bool empty();
|
| + static size_t size();
|
|
|
| // Returns iterated access to list of open browsers ordered by when
|
| // they were last active. The underlying data structure is a vector
|
| // and we push_back on recent access so a reverse iterator gives the
|
| // latest accessed browser first.
|
| - static const_reverse_iterator begin_last_active() {
|
| - return last_active_browsers_.rbegin();
|
| - }
|
| -
|
| - static const_reverse_iterator end_last_active() {
|
| - return last_active_browsers_.rend();
|
| - }
|
| + static const_reverse_iterator begin_last_active();
|
| + static const_reverse_iterator end_last_active();
|
|
|
| // Return the number of browsers with the following profile which are
|
| // currently open.
|
| @@ -217,10 +212,6 @@ class BrowserList {
|
| static void MarkAsCleanShutdown();
|
| static void AttemptExitInternal();
|
|
|
| - static BrowserVector browsers_;
|
| - static BrowserVector last_active_browsers_;
|
| - static ObserverList<Observer> observers_;
|
| -
|
| // Counter of calls to StartKeepAlive(). If non-zero, the application will
|
| // continue running after the last browser has exited.
|
| static int keep_alive_count_;
|
|
|