| Index: content/public/browser/power_save_blocker.h
|
| diff --git a/content/public/browser/power_save_blocker.h b/content/public/browser/power_save_blocker.h
|
| index 7b553e7f54e6a27eca02c056b05890f49a763bc1..db3c0f25b70c71da8dd7a8866795bbea9da15e82 100644
|
| --- a/content/public/browser/power_save_blocker.h
|
| +++ b/content/public/browser/power_save_blocker.h
|
| @@ -8,6 +8,9 @@
|
| #include <memory>
|
| #include <string>
|
|
|
| +#include "base/memory/ref_counted.h"
|
| +#include "base/sequenced_task_runner.h"
|
| +#include "base/single_thread_task_runner.h"
|
| #include "content/common/content_export.h"
|
|
|
| namespace content {
|
| @@ -48,10 +51,12 @@ class CONTENT_EXPORT PowerSaveBlocker {
|
| // |reason| and |description| (a more-verbose, human-readable justification of
|
| // the blocking) may be provided to the underlying system APIs on some
|
| // platforms.
|
| - static std::unique_ptr<PowerSaveBlocker> Create(
|
| + static std::unique_ptr<PowerSaveBlocker> CreateWithTaskRunners(
|
| PowerSaveBlockerType type,
|
| Reason reason,
|
| - const std::string& description);
|
| + const std::string& description,
|
| + scoped_refptr<base::SequencedTaskRunner> ui_task_runner,
|
| + scoped_refptr<base::SingleThreadTaskRunner> file_task_runner);
|
| };
|
|
|
| } // namespace content
|
|
|