| OLD | NEW |
| (Empty) |
| 1 // Copyright 2016 The Chromium Authors. All rights reserved. | |
| 2 // Use of this source code is governed by a BSD-style license that can be | |
| 3 // found in the LICENSE file. | |
| 4 | |
| 5 #ifndef CONTENT_BROWSER_POWER_SAVE_BLOCKER_FACTORY_H_ | |
| 6 #define CONTENT_BROWSER_POWER_SAVE_BLOCKER_FACTORY_H_ | |
| 7 | |
| 8 #include <memory> | |
| 9 #include <string> | |
| 10 | |
| 11 #include "base/memory/ref_counted.h" | |
| 12 #include "base/sequenced_task_runner.h" | |
| 13 #include "content/common/content_export.h" | |
| 14 #include "device/power_save_blocker/power_save_blocker.h" | |
| 15 | |
| 16 namespace content { | |
| 17 | |
| 18 CONTENT_EXPORT std::unique_ptr<device::PowerSaveBlocker> CreatePowerSaveBlocker( | |
| 19 device::PowerSaveBlocker::PowerSaveBlockerType type, | |
| 20 device::PowerSaveBlocker::Reason reason, | |
| 21 const std::string& description); | |
| 22 | |
| 23 } // namespace content | |
| 24 | |
| 25 #endif // CONTENT_BROWSER_POWER_SAVE_BLOCKER_FACTORY_H_ | |
| OLD | NEW |