blob: e7265daa3441af9037b075d9f220a9e0eac32485 [file] [log] [blame]
// Copyright 2018 The ChromiumOS Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "shill/mock_external_task.h"
#include <utility>
namespace shill {
MockExternalTask::MockExternalTask(
ControlInterface* control,
ProcessManager* process_manager,
const base::WeakPtr<RpcTaskDelegate>& task_delegate,
base::OnceCallback<void(pid_t, int)> death_callback)
: ExternalTask(
control, process_manager, task_delegate, std::move(death_callback)) {}
MockExternalTask::~MockExternalTask() {
OnDelete();
}
} // namespace shill