| OLD | NEW |
| 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 #ifndef CHROME_BROWSER_UI_BROWSER_LIST_H_ | 5 #ifndef CHROME_BROWSER_UI_BROWSER_LIST_H_ |
| 6 #define CHROME_BROWSER_UI_BROWSER_LIST_H_ | 6 #define CHROME_BROWSER_UI_BROWSER_LIST_H_ |
| 7 | 7 |
| 8 #include <stddef.h> | 8 #include <stddef.h> |
| 9 | 9 |
| 10 #include <vector> | 10 #include <vector> |
| 11 | 11 |
| 12 #include "base/callback_forward.h" |
| 12 #include "base/lazy_instance.h" | 13 #include "base/lazy_instance.h" |
| 13 #include "base/macros.h" | 14 #include "base/macros.h" |
| 14 #include "base/observer_list.h" | 15 #include "base/observer_list.h" |
| 15 | 16 |
| 16 class Browser; | 17 class Browser; |
| 17 class Profile; | 18 class Profile; |
| 18 | 19 |
| 19 namespace base { | 20 namespace base { |
| 20 class FilePath; | 21 class FilePath; |
| 21 } | 22 } |
| (...skipping 125 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 147 // removal across all BrowserLists. | 148 // removal across all BrowserLists. |
| 148 static base::LazyInstance< | 149 static base::LazyInstance< |
| 149 base::ObserverList<chrome::BrowserListObserver>>::Leaky observers_; | 150 base::ObserverList<chrome::BrowserListObserver>>::Leaky observers_; |
| 150 | 151 |
| 151 static BrowserList* instance_; | 152 static BrowserList* instance_; |
| 152 | 153 |
| 153 DISALLOW_COPY_AND_ASSIGN(BrowserList); | 154 DISALLOW_COPY_AND_ASSIGN(BrowserList); |
| 154 }; | 155 }; |
| 155 | 156 |
| 156 #endif // CHROME_BROWSER_UI_BROWSER_LIST_H_ | 157 #endif // CHROME_BROWSER_UI_BROWSER_LIST_H_ |
| OLD | NEW |