[email protected] | 2b67216b | 2013-01-15 06:25:17 | [diff] [blame] | 1 | // Copyright (c) 2013 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 | #include "content/browser/power_save_blocker_impl.h" |
| 6 | |
| 7 | namespace content { |
| 8 | |
| 9 | PowerSaveBlocker::~PowerSaveBlocker() {} |
| 10 | |
| 11 | // static |
| 12 | scoped_ptr<PowerSaveBlocker> PowerSaveBlocker::Create( |
| 13 | PowerSaveBlockerType type, |
derat | f3c302a | 2015-02-23 18:33:03 | [diff] [blame] | 14 | Reason reason, |
| 15 | const std::string& description) { |
| 16 | return scoped_ptr<PowerSaveBlocker>( |
| 17 | new PowerSaveBlockerImpl(type, reason, description)); |
[email protected] | 2b67216b | 2013-01-15 06:25:17 | [diff] [blame] | 18 | } |
| 19 | |
| 20 | } // namespace content |