// third_party/blink/public/mojom/loader/content_security_notifier.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_LOADER_CONTENT_SECURITY_NOTIFIER_MOJOM_BLINK_TEST_UTILS_H_
#define THIRD_PARTY_BLINK_PUBLIC_MOJOM_LOADER_CONTENT_SECURITY_NOTIFIER_MOJOM_BLINK_TEST_UTILS_H_

#include "third_party/blink/public/mojom/loader/content_security_notifier.mojom-blink.h"
#include "third_party/blink/renderer/platform/platform_export.h"


namespace blink::mojom::blink {


class PLATFORM_EXPORT ContentSecurityNotifierInterceptorForTesting : public ContentSecurityNotifier {
  virtual ContentSecurityNotifier* GetForwardingInterface() = 0;
  void NotifyContentWithCertificateErrorsRan() override;
  void NotifyContentWithCertificateErrorsDisplayed() override;
  void NotifyInsecureContentRan(const ::blink::KURL& insecure_url, ContentSecurityNotifier::InsecureContentOrigin origin_type) override;
};
class PLATFORM_EXPORT ContentSecurityNotifierAsyncWaiter {
 public:
  explicit ContentSecurityNotifierAsyncWaiter(ContentSecurityNotifier* proxy);

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

  ~ContentSecurityNotifierAsyncWaiter();

 private:
  ContentSecurityNotifier* const proxy_;
};




}  // blink::mojom::blink

#endif  // THIRD_PARTY_BLINK_PUBLIC_MOJOM_LOADER_CONTENT_SECURITY_NOTIFIER_MOJOM_BLINK_TEST_UTILS_H_