blob: 37a68718d282aa19f24ba65eaca54284e2cb82c8 [file] [log] [blame]
// Copyright 2016 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 LOGIN_MANAGER_INIT_DAEMON_CONTROLLER_H_
#define LOGIN_MANAGER_INIT_DAEMON_CONTROLLER_H_
#include <string>
#include <vector>
#include <base/memory/scoped_ptr.h>
namespace dbus {
class ObjectProxy;
class Response;
}
namespace login_manager {
class InitDaemonController {
public:
virtual ~InitDaemonController() {}
// Call specific methods of the init daemon to signal a special
// condition.
virtual scoped_ptr<dbus::Response> TriggerImpulse(
const std::string& name,
const std::vector<std::string>& args_keyvals) = 0;
};
} // namespace login_manager
#endif // LOGIN_MANAGER_INIT_DAEMON_CONTROLLER_H_