chromium/components/headless/test/capture_std_stream.h

// Copyright 2022 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.

#ifndef COMPONENTS_HEADLESS_TEST_CAPTURE_STD_STREAM_H_
#define COMPONENTS_HEADLESS_TEST_CAPTURE_STD_STREAM_H_

#include <cstdio>
#include <string>

#include "base/memory/raw_ptr.h"
#include "base/threading/thread_restrictions.h"

namespace headless {

// A class to capture data sent to a standard stream.
class CaptureStdStream {};

class CaptureStdOut : public CaptureStdStream {};

class CaptureStdErr : public CaptureStdStream {};

}  // namespace headless

#endif  // COMPONENTS_HEADLESS_TEST_CAPTURE_STD_STREAM_H_