diff options
Diffstat (limited to 'chrome/browser/ui/browser_list.h')
-rw-r--r-- | chrome/browser/ui/browser_list.h | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/chrome/browser/ui/browser_list.h b/chrome/browser/ui/browser_list.h index f3103cf..eb48b2f 100644 --- a/chrome/browser/ui/browser_list.h +++ b/chrome/browser/ui/browser_list.h @@ -22,12 +22,13 @@ class BrowserList { typedef std::vector<Browser*> BrowserVector; typedef BrowserVector::const_reverse_iterator const_reverse_iterator; - // Adds and removes browsers from the global list. The browser object should - // be valid BEFORE these calls (for the benefit of observers), so notify and - // THEN delete the object. + // Adds and removes browsers from the list they are associated with. The + // browser object should be valid BEFORE these calls (for the benefit of + // observers), so notify and THEN delete the object. static void AddBrowser(Browser* browser); static void RemoveBrowser(Browser* browser); + // Adds and removes |observer| from the observer list of each desktop. static void AddObserver(chrome::BrowserListObserver* observer); static void RemoveObserver(chrome::BrowserListObserver* observer); |