blob: 84ae928233c52aae396f6d36f729e3fc164b8db9 [file] [log] [blame]
Greg Kerr888f1ce2019-01-31 10:49:11 -08001// Copyright 2019 The Chromium OS 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#ifndef DEBUGD_SRC_SCHEDULER_CONFIGURATION_TOOL_H_
6#define DEBUGD_SRC_SCHEDULER_CONFIGURATION_TOOL_H_
7
8#include <string>
9
10#include <base/macros.h>
11#include <brillo/errors/error.h>
12
13namespace debugd {
14
15class SchedulerConfigurationTool {
16 public:
17 SchedulerConfigurationTool() = default;
18 ~SchedulerConfigurationTool() = default;
19
20 // This sets the core sharing policy.
21 bool SetPolicy(const std::string& policy, brillo::ErrorPtr* error);
22
23 private:
24 DISALLOW_COPY_AND_ASSIGN(SchedulerConfigurationTool);
25};
26
27} // namespace debugd
28
29#endif // DEBUGD_SRC_SCHEDULER_CONFIGURATION_TOOL_H_