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" | |
13 #include "base/lazy_instance.h" | 12 #include "base/lazy_instance.h" |
14 #include "base/macros.h" | 13 #include "base/macros.h" |
15 #include "base/observer_list.h" | 14 #include "base/observer_list.h" |
16 | 15 |
17 class Browser; | 16 class Browser; |
18 class Profile; | 17 class Profile; |
19 | 18 |
20 namespace base { | 19 namespace base { |
21 class FilePath; | 20 class FilePath; |
22 } | 21 } |
(...skipping 125 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
148 // removal across all BrowserLists. | 147 // removal across all BrowserLists. |
149 static base::LazyInstance< | 148 static base::LazyInstance< |
150 base::ObserverList<chrome::BrowserListObserver>>::Leaky observers_; | 149 base::ObserverList<chrome::BrowserListObserver>>::Leaky observers_; |
151 | 150 |
152 static BrowserList* instance_; | 151 static BrowserList* instance_; |
153 | 152 |
154 DISALLOW_COPY_AND_ASSIGN(BrowserList); | 153 DISALLOW_COPY_AND_ASSIGN(BrowserList); |
155 }; | 154 }; |
156 | 155 |
157 #endif // CHROME_BROWSER_UI_BROWSER_LIST_H_ | 156 #endif // CHROME_BROWSER_UI_BROWSER_LIST_H_ |
OLD | NEW |