// third_party/blink/public/mojom/frame/reporting_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 THIRD_PARTY_BLINK_PUBLIC_MOJOM_FRAME_REPORTING_OBSERVER_MOJOM_BLINK_TEST_UTILS_H_
#define THIRD_PARTY_BLINK_PUBLIC_MOJOM_FRAME_REPORTING_OBSERVER_MOJOM_BLINK_TEST_UTILS_H_

#include "third_party/blink/public/mojom/frame/reporting_observer.mojom-blink.h"
#include "third_party/blink/renderer/core/core_export.h"


namespace blink::mojom::blink {


class CORE_EXPORT ReportingObserverInterceptorForTesting : public ReportingObserver {
  virtual ReportingObserver* GetForwardingInterface() = 0;
  void Notify(ReportPtr report) override;
};
class CORE_EXPORT ReportingObserverAsyncWaiter {
 public:
  explicit ReportingObserverAsyncWaiter(ReportingObserver* proxy);

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

  ~ReportingObserverAsyncWaiter();

 private:
  ReportingObserver* const proxy_;
};




}  // blink::mojom::blink

#endif  // THIRD_PARTY_BLINK_PUBLIC_MOJOM_FRAME_REPORTING_OBSERVER_MOJOM_BLINK_TEST_UTILS_H_