blob: 7783f745fba74ae52c6c33cde047805048cf5871 [file]
// Copyright 2021 The ChromiumOS Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "runtime_probe/system/context_runtime_impl.h"
#include <memory>
#include <utility>
#include <base/check.h>
#include "runtime_probe/system/helper_invoker_debugd_impl.h"
namespace runtime_probe {
ContextRuntimeImpl::ContextRuntimeImpl(int helper_timeout_sec) {
CHECK(SetupDBusServices()) << "Cannot setup dbus service";
helper_invoker_ =
std::make_unique<HelperInvokerDebugdImpl>(helper_timeout_sec);
}
} // namespace runtime_probe