chromium/chrome/browser/media/webrtc/delegated_source_list_capturer.h

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

#ifndef CHROME_BROWSER_MEDIA_WEBRTC_DELEGATED_SOURCE_LIST_CAPTURER_H_
#define CHROME_BROWSER_MEDIA_WEBRTC_DELEGATED_SOURCE_LIST_CAPTURER_H_

#include "base/memory/raw_ptr.h"
#include "base/memory/weak_ptr.h"
#include "content/public/browser/desktop_media_id.h"
#include "third_party/webrtc/modules/desktop_capture/desktop_capturer.h"

// This class is a DesktopCapturer that fully delegates the picking of a source
// to a device specific picker by implementing the DelegatedSourceListController
// interface and calling the device specific picker.
class DelegatedSourceListCapturer
    : public webrtc::DesktopCapturer,
      public webrtc::DelegatedSourceListController {};

#endif  // CHROME_BROWSER_MEDIA_WEBRTC_DELEGATED_SOURCE_LIST_CAPTURER_H_