OLD | NEW |
1 // Copyright 2015 The Chromium Authors. All rights reserved. | 1 // Copyright 2015 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 IOS_WEB_WEB_STATE_GLOBAL_WEB_STATE_EVENT_TRACKER_H_ | 5 #ifndef IOS_WEB_WEB_STATE_GLOBAL_WEB_STATE_EVENT_TRACKER_H_ |
6 #define IOS_WEB_WEB_STATE_GLOBAL_WEB_STATE_EVENT_TRACKER_H_ | 6 #define IOS_WEB_WEB_STATE_GLOBAL_WEB_STATE_EVENT_TRACKER_H_ |
7 | 7 |
| 8 #include <stddef.h> |
| 9 |
8 #include "base/macros.h" | 10 #include "base/macros.h" |
9 #include "base/observer_list.h" | 11 #include "base/observer_list.h" |
10 #include "ios/web/public/web_state/global_web_state_observer.h" | 12 #include "ios/web/public/web_state/global_web_state_observer.h" |
11 | 13 |
12 namespace base { | 14 namespace base { |
13 template <typename T> | 15 template <typename T> |
14 struct DefaultSingletonTraits; | 16 struct DefaultSingletonTraits; |
15 } // namespace base | 17 } // namespace base |
16 | 18 |
17 namespace web { | 19 namespace web { |
(...skipping 33 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
51 | 53 |
52 // List of observers currently registered with the tracker. | 54 // List of observers currently registered with the tracker. |
53 base::ObserverList<GlobalWebStateObserver, true> observer_list_; | 55 base::ObserverList<GlobalWebStateObserver, true> observer_list_; |
54 | 56 |
55 DISALLOW_COPY_AND_ASSIGN(GlobalWebStateEventTracker); | 57 DISALLOW_COPY_AND_ASSIGN(GlobalWebStateEventTracker); |
56 }; | 58 }; |
57 | 59 |
58 } // namespace web | 60 } // namespace web |
59 | 61 |
60 #endif // IOS_WEB_WEB_STATE_GLOBAL_WEB_STATE_EVENT_TRACKER_H_ | 62 #endif // IOS_WEB_WEB_STATE_GLOBAL_WEB_STATE_EVENT_TRACKER_H_ |
OLD | NEW |