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 EXTENSIONS_BROWSER_API_IDLE_IDLE_MANAGER_H_ | 5 #ifndef EXTENSIONS_BROWSER_API_IDLE_IDLE_MANAGER_H_ |
6 #define EXTENSIONS_BROWSER_API_IDLE_IDLE_MANAGER_H_ | 6 #define EXTENSIONS_BROWSER_API_IDLE_IDLE_MANAGER_H_ |
7 | 7 |
8 #include <map> | 8 #include <map> |
9 #include <string> | 9 #include <string> |
10 | 10 |
11 #include "base/callback_forward.h" | 11 #include "base/callback_forward.h" |
12 #include "base/gtest_prod_util.h" | 12 #include "base/gtest_prod_util.h" |
| 13 #include "base/macros.h" |
13 #include "base/memory/weak_ptr.h" | 14 #include "base/memory/weak_ptr.h" |
14 #include "base/scoped_observer.h" | 15 #include "base/scoped_observer.h" |
15 #include "base/threading/thread_checker.h" | 16 #include "base/threading/thread_checker.h" |
16 #include "base/timer/timer.h" | 17 #include "base/timer/timer.h" |
17 #include "components/keyed_service/core/keyed_service.h" | 18 #include "components/keyed_service/core/keyed_service.h" |
18 #include "extensions/browser/event_router.h" | 19 #include "extensions/browser/event_router.h" |
19 #include "extensions/browser/extension_registry_observer.h" | 20 #include "extensions/browser/extension_registry_observer.h" |
20 #include "ui/base/idle/idle.h" | 21 #include "ui/base/idle/idle.h" |
21 | 22 |
22 namespace base { | 23 namespace base { |
(...skipping 115 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
138 extension_registry_observer_; | 139 extension_registry_observer_; |
139 | 140 |
140 base::WeakPtrFactory<IdleManager> weak_factory_; | 141 base::WeakPtrFactory<IdleManager> weak_factory_; |
141 | 142 |
142 DISALLOW_COPY_AND_ASSIGN(IdleManager); | 143 DISALLOW_COPY_AND_ASSIGN(IdleManager); |
143 }; | 144 }; |
144 | 145 |
145 } // namespace extensions | 146 } // namespace extensions |
146 | 147 |
147 #endif // EXTENSIONS_BROWSER_API_IDLE_IDLE_MANAGER_H_ | 148 #endif // EXTENSIONS_BROWSER_API_IDLE_IDLE_MANAGER_H_ |
OLD | NEW |