Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(226)

Side by Side Diff: extensions/browser/api/power/power_api.h

Issue 2884763002: Automated IWYU fix for TaskRunner includes. (Closed)
Patch Set: rebase on r472096 Created 3 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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_API_POWER_POWER_API_H_ 5 #ifndef EXTENSIONS_BROWSER_API_POWER_POWER_API_H_
6 #define EXTENSIONS_BROWSER_API_POWER_POWER_API_H_ 6 #define EXTENSIONS_BROWSER_API_POWER_POWER_API_H_
7 7
8 #include <map> 8 #include <map>
9 #include <memory> 9 #include <memory>
10 #include <string> 10 #include <string>
11 11
12 #include "base/callback.h" 12 #include "base/callback.h"
13 #include "base/macros.h" 13 #include "base/macros.h"
14 #include "base/single_thread_task_runner.h"
14 #include "device/power_save_blocker/power_save_blocker.h" 15 #include "device/power_save_blocker/power_save_blocker.h"
15 #include "extensions/browser/browser_context_keyed_api_factory.h" 16 #include "extensions/browser/browser_context_keyed_api_factory.h"
16 #include "extensions/browser/extension_function.h" 17 #include "extensions/browser/extension_function.h"
17 #include "extensions/browser/extension_registry_observer.h" 18 #include "extensions/browser/extension_registry_observer.h"
18 #include "extensions/common/api/power.h" 19 #include "extensions/common/api/power.h"
19 20
20 namespace content { 21 namespace content {
21 class BrowserContext; 22 class BrowserContext;
22 } 23 }
23 24
(...skipping 98 matching lines...) Expand 10 before | Expand all | Expand 10 after
122 123
123 // Outstanding requests. 124 // Outstanding requests.
124 ExtensionLevelMap extension_levels_; 125 ExtensionLevelMap extension_levels_;
125 126
126 DISALLOW_COPY_AND_ASSIGN(PowerAPI); 127 DISALLOW_COPY_AND_ASSIGN(PowerAPI);
127 }; 128 };
128 129
129 } // namespace extensions 130 } // namespace extensions
130 131
131 #endif // EXTENSIONS_BROWSER_API_POWER_POWER_API_H_ 132 #endif // EXTENSIONS_BROWSER_API_POWER_POWER_API_H_
OLDNEW
« no previous file with comments | « device/wake_lock/wake_lock_provider.h ('k') | extensions/browser/api/power/power_api_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698