| Index: content/public/browser/power_save_blocker_factory.h
|
| diff --git a/content/public/browser/power_save_blocker_factory.h b/content/public/browser/power_save_blocker_factory.h
|
| new file mode 100644
|
| index 0000000000000000000000000000000000000000..a40c0ce098bcec1bc889786b1357347aec55584e
|
| --- /dev/null
|
| +++ b/content/public/browser/power_save_blocker_factory.h
|
| @@ -0,0 +1,25 @@
|
| +// Copyright 2016 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.
|
| +
|
| +#ifndef CONTENT_PUBLIC_BROWSER_POWER_SAVE_BLOCKER_FACTORY_H_
|
| +#define CONTENT_PUBLIC_BROWSER_POWER_SAVE_BLOCKER_FACTORY_H_
|
| +
|
| +#include <memory>
|
| +#include <string>
|
| +
|
| +#include "base/memory/ref_counted.h"
|
| +#include "base/sequenced_task_runner.h"
|
| +#include "content/common/content_export.h"
|
| +#include "content/public/browser/power_save_blocker.h"
|
| +
|
| +namespace content {
|
| +
|
| +CONTENT_EXPORT std::unique_ptr<PowerSaveBlocker> CreatePowerSaveBlocker(
|
| + PowerSaveBlocker::PowerSaveBlockerType type,
|
| + PowerSaveBlocker::Reason reason,
|
| + const std::string& description);
|
| +
|
| +} // namespace content
|
| +
|
| +#endif // CONTENT_PUBLIC_BROWSER_POWER_SAVE_BLOCKER_FACTORY_H_
|
|
|