// services/viz/public/mojom/compositing/video_detector_observer.mojom-blink-test-utils.h is auto generated by mojom_bindings_generator.py, do not edit

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

#ifndef SERVICES_VIZ_PUBLIC_MOJOM_COMPOSITING_VIDEO_DETECTOR_OBSERVER_MOJOM_BLINK_TEST_UTILS_H_
#define SERVICES_VIZ_PUBLIC_MOJOM_COMPOSITING_VIDEO_DETECTOR_OBSERVER_MOJOM_BLINK_TEST_UTILS_H_

#include "services/viz/public/mojom/compositing/video_detector_observer.mojom-blink.h"
#include "third_party/blink/public/platform/web_common.h"


namespace viz::mojom::blink {


class BLINK_PLATFORM_EXPORT VideoDetectorObserverInterceptorForTesting : public VideoDetectorObserver {
  virtual VideoDetectorObserver* GetForwardingInterface() = 0;
  void OnVideoActivityStarted() override;
  void OnVideoActivityEnded() override;
};
class BLINK_PLATFORM_EXPORT VideoDetectorObserverAsyncWaiter {
 public:
  explicit VideoDetectorObserverAsyncWaiter(VideoDetectorObserver* proxy);

  VideoDetectorObserverAsyncWaiter(const VideoDetectorObserverAsyncWaiter&) = delete;
  VideoDetectorObserverAsyncWaiter& operator=(const VideoDetectorObserverAsyncWaiter&) = delete;

  ~VideoDetectorObserverAsyncWaiter();

 private:
  VideoDetectorObserver* const proxy_;
};




}  // viz::mojom::blink

#endif  // SERVICES_VIZ_PUBLIC_MOJOM_COMPOSITING_VIDEO_DETECTOR_OBSERVER_MOJOM_BLINK_TEST_UTILS_H_