blob: 52cb6a1dde11c4fbb9eb934dff6637e9640b5930 [file] [log] [blame]
// Copyright (c) 2013 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "build/build_config.h"
#include "content/browser/power_save_blocker_impl.h"
namespace content {
PowerSaveBlocker::~PowerSaveBlocker() {}
// static
std::unique_ptr<PowerSaveBlocker> PowerSaveBlocker::Create(
PowerSaveBlockerType type,
Reason reason,
const std::string& description) {
return std::unique_ptr<PowerSaveBlocker>(
new PowerSaveBlockerImpl(type, reason, description));
}
} // namespace content