chromium/components/capture_mode/capture_mode_export.h

// Copyright 2023 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_CAPTURE_MODE_CAPTURE_MODE_EXPORT_H_
#define COMPONENTS_CAPTURE_MODE_CAPTURE_MODE_EXPORT_H_

#if defined(COMPONENT_BUILD)
#if defined(WIN32)

#if defined(CAPTURE_MODE_IMPLEMENTATION)
#define CAPTURE_MODE_EXPORT
#else
#define CAPTURE_MODE_EXPORT
#endif  // defined(CAPTURE_MODE_IMPLEMENTATION)

#else  // defined(WIN32)
#if defined(CAPTURE_MODE_IMPLEMENTATION)
#define CAPTURE_MODE_EXPORT
#else
#define CAPTURE_MODE_EXPORT
#endif
#endif

#else  // defined(COMPONENT_BUILD)
#define CAPTURE_MODE_EXPORT
#endif

#endif  // COMPONENTS_CAPTURE_MODE_CAPTURE_MODE_EXPORT_H_