Reland: Plugin Placeholders: Refactor for platforms that don't support plugins
[chromium-blink-merge.git] / content / browser / power_save_blocker_impl.cc
blob416ddb334c4250057a931cc385990772fb8958a2
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.
5 #include "content/browser/power_save_blocker_impl.h"
7 namespace content {
9 PowerSaveBlocker::~PowerSaveBlocker() {}
11 // static
12 scoped_ptr<PowerSaveBlocker> PowerSaveBlocker::Create(
13 PowerSaveBlockerType type,
14 Reason reason,
15 const std::string& description) {
16 return scoped_ptr<PowerSaveBlocker>(
17 new PowerSaveBlockerImpl(type, reason, description));
20 } // namespace content