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

#include "third_party/blink/public/mojom/loader/content_security_notifier.mojom.h"
#include "third_party/blink/public/common/common_export.h"


namespace blink::mojom {


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

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

  ~ContentSecurityNotifierAsyncWaiter();

 private:
  ContentSecurityNotifier* const proxy_;
};




}  // blink::mojom

#endif  // THIRD_PARTY_BLINK_PUBLIC_MOJOM_LOADER_CONTENT_SECURITY_NOTIFIER_MOJOM_TEST_UTILS_H_