OLD | NEW |
1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 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 EXTENSIONS_BROWSER_APP_WINDOW_APP_WINDOW_GEOMETRY_CACHE_H_ | 5 #ifndef EXTENSIONS_BROWSER_APP_WINDOW_APP_WINDOW_GEOMETRY_CACHE_H_ |
6 #define EXTENSIONS_BROWSER_APP_WINDOW_APP_WINDOW_GEOMETRY_CACHE_H_ | 6 #define EXTENSIONS_BROWSER_APP_WINDOW_APP_WINDOW_GEOMETRY_CACHE_H_ |
7 | 7 |
8 #include <map> | 8 #include <map> |
9 #include <set> | 9 #include <set> |
10 #include <string> | 10 #include <string> |
(...skipping 131 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
142 // The timer used to save the data. | 142 // The timer used to save the data. |
143 base::OneShotTimer<AppWindowGeometryCache> sync_timer_; | 143 base::OneShotTimer<AppWindowGeometryCache> sync_timer_; |
144 | 144 |
145 // The timeout value we'll use for |sync_timer_|. | 145 // The timeout value we'll use for |sync_timer_|. |
146 base::TimeDelta sync_delay_; | 146 base::TimeDelta sync_delay_; |
147 | 147 |
148 // Listen to extension load, unloaded notifications. | 148 // Listen to extension load, unloaded notifications. |
149 ScopedObserver<ExtensionRegistry, ExtensionRegistryObserver> | 149 ScopedObserver<ExtensionRegistry, ExtensionRegistryObserver> |
150 extension_registry_observer_; | 150 extension_registry_observer_; |
151 | 151 |
152 ObserverList<Observer> observers_; | 152 base::ObserverList<Observer> observers_; |
153 }; | 153 }; |
154 | 154 |
155 } // namespace extensions | 155 } // namespace extensions |
156 | 156 |
157 #endif // EXTENSIONS_BROWSER_APP_WINDOW_APP_WINDOW_GEOMETRY_CACHE_H_ | 157 #endif // EXTENSIONS_BROWSER_APP_WINDOW_APP_WINDOW_GEOMETRY_CACHE_H_ |
OLD | NEW |