// third_party/blink/public/mojom/content_extraction/inner_html.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_HTML_MOJOM_TEST_UTILS_H_
#define THIRD_PARTY_BLINK_PUBLIC_MOJOM_CONTENT_EXTRACTION_INNER_HTML_MOJOM_TEST_UTILS_H_

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


namespace blink::mojom {


class BLINK_COMMON_EXPORT InnerHtmlAgentInterceptorForTesting : public InnerHtmlAgent {
  virtual InnerHtmlAgent* GetForwardingInterface() = 0;
  void GetInnerHtml(GetInnerHtmlCallback callback) override;
};
class BLINK_COMMON_EXPORT InnerHtmlAgentAsyncWaiter {
 public:
  explicit InnerHtmlAgentAsyncWaiter(InnerHtmlAgent* proxy);

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

  ~InnerHtmlAgentAsyncWaiter();
  void GetInnerHtml(
      std::string* out_inner_html);
  std::string GetInnerHtml();

 private:
  InnerHtmlAgent* const proxy_;
};




}  // blink::mojom

#endif  // THIRD_PARTY_BLINK_PUBLIC_MOJOM_CONTENT_EXTRACTION_INNER_HTML_MOJOM_TEST_UTILS_H_