// components/content_settings/common/content_settings_agent.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 COMPONENTS_CONTENT_SETTINGS_COMMON_CONTENT_SETTINGS_AGENT_MOJOM_TEST_UTILS_H_
#define COMPONENTS_CONTENT_SETTINGS_COMMON_CONTENT_SETTINGS_AGENT_MOJOM_TEST_UTILS_H_

#include "components/content_settings/common/content_settings_agent.mojom.h"


namespace content_settings::mojom {


class  ContentSettingsAgentInterceptorForTesting : public ContentSettingsAgent {
  virtual ContentSettingsAgent* GetForwardingInterface() = 0;
  void SetAllowRunningInsecureContent() override;
  void SendRendererContentSettingRules(const ::RendererContentSettingRules& renderer_settings) override;
};
class  ContentSettingsAgentAsyncWaiter {
 public:
  explicit ContentSettingsAgentAsyncWaiter(ContentSettingsAgent* proxy);

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

  ~ContentSettingsAgentAsyncWaiter();

 private:
  ContentSettingsAgent* const proxy_;
};




}  // content_settings::mojom

#endif  // COMPONENTS_CONTENT_SETTINGS_COMMON_CONTENT_SETTINGS_AGENT_MOJOM_TEST_UTILS_H_