// third_party/blink/public/mojom/content_extraction/inner_text.mojom-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_CONTENT_EXTRACTION_INNER_TEXT_MOJOM_TEST_UTILS_H_
#define THIRD_PARTY_BLINK_PUBLIC_MOJOM_CONTENT_EXTRACTION_INNER_TEXT_MOJOM_TEST_UTILS_H_

#include "third_party/blink/public/mojom/content_extraction/inner_text.mojom.h"
#include "third_party/blink/public/common/common_export.h"


namespace blink::mojom {


class BLINK_COMMON_EXPORT InnerTextAgentInterceptorForTesting : public InnerTextAgent {
  virtual InnerTextAgent* GetForwardingInterface() = 0;
  void GetInnerText(InnerTextParamsPtr params, GetInnerTextCallback callback) override;
};
class BLINK_COMMON_EXPORT InnerTextAgentAsyncWaiter {
 public:
  explicit InnerTextAgentAsyncWaiter(InnerTextAgent* proxy);

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

  ~InnerTextAgentAsyncWaiter();
  void GetInnerText(
      InnerTextParamsPtr params, InnerTextFramePtr* out_frame);
  InnerTextFramePtr GetInnerText(InnerTextParamsPtr params);

 private:
  InnerTextAgent* const proxy_;
};




}  // blink::mojom

#endif  // THIRD_PARTY_BLINK_PUBLIC_MOJOM_CONTENT_EXTRACTION_INNER_TEXT_MOJOM_TEST_UTILS_H_