blob: 84ae928233c52aae396f6d36f729e3fc164b8db9 [file] [log] [blame]
// Copyright 2019 The Chromium OS 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 DEBUGD_SRC_SCHEDULER_CONFIGURATION_TOOL_H_
#define DEBUGD_SRC_SCHEDULER_CONFIGURATION_TOOL_H_
#include <string>
#include <base/macros.h>
#include <brillo/errors/error.h>
namespace debugd {
class SchedulerConfigurationTool {
public:
SchedulerConfigurationTool() = default;
~SchedulerConfigurationTool() = default;
// This sets the core sharing policy.
bool SetPolicy(const std::string& policy, brillo::ErrorPtr* error);
private:
DISALLOW_COPY_AND_ASSIGN(SchedulerConfigurationTool);
};
} // namespace debugd
#endif // DEBUGD_SRC_SCHEDULER_CONFIGURATION_TOOL_H_