blob: 8e00d1ba51e7d30ca277c1b8d7701663cc9c94d4 [file] [log] [blame]
// Copyright 2020 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 RUNTIME_PROBE_FUNCTIONS_USB_CAMERA_H_
#define RUNTIME_PROBE_FUNCTIONS_USB_CAMERA_H_
#include <memory>
#include <string>
#include "runtime_probe/probe_function.h"
namespace runtime_probe {
class UsbCameraFunction : public ProbeFunction {
public:
NAME_PROBE_FUNCTION("usb_camera");
static constexpr auto FromKwargsValue =
FromEmptyKwargsValue<UsbCameraFunction>;
DataType Eval() const override;
int EvalInHelper(std::string*) const override;
};
} // namespace runtime_probe
#endif // RUNTIME_PROBE_FUNCTIONS_USB_CAMERA_H_