#ifndef REMOTING_HOST_WIN_SESSION_ACTION_EXECUTOR_H_
#define REMOTING_HOST_WIN_SESSION_ACTION_EXECUTOR_H_
#include "base/functional/callback.h"
#include "base/memory/scoped_refptr.h"
#include "remoting/host/action_executor.h"
namespace base {
class SingleThreadTaskRunner;
}
namespace remoting {
class SessionActionExecutor : public ActionExecutor {
public:
SessionActionExecutor(
scoped_refptr<base::SingleThreadTaskRunner> execute_action_task_runner,
const base::RepeatingClosure& inject_sas,
const base::RepeatingClosure& lock_workstation);
SessionActionExecutor(const SessionActionExecutor&) = delete;
SessionActionExecutor& operator=(const SessionActionExecutor&) = delete;
~SessionActionExecutor() override;
void ExecuteAction(const protocol::ActionRequest& request) override;
private:
scoped_refptr<base::SingleThreadTaskRunner> execute_action_task_runner_;
base::RepeatingClosure inject_sas_;
base::RepeatingClosure lock_workstation_;
};
}
#endif