// components/enterprise/connectors/connectors_internals.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_ENTERPRISE_CONNECTORS_CONNECTORS_INTERNALS_MOJOM_TEST_UTILS_H_
#define COMPONENTS_ENTERPRISE_CONNECTORS_CONNECTORS_INTERNALS_MOJOM_TEST_UTILS_H_

#include "components/enterprise/connectors/connectors_internals.mojom.h"


namespace connectors_internals::mojom {


class  PageHandlerInterceptorForTesting : public PageHandler {
  virtual PageHandler* GetForwardingInterface() = 0;
  void GetDeviceTrustState(GetDeviceTrustStateCallback callback) override;
  void DeleteDeviceTrustKey(DeleteDeviceTrustKeyCallback callback) override;
  void GetClientCertificateState(GetClientCertificateStateCallback callback) override;
  void GetSignalsReportingState(GetSignalsReportingStateCallback callback) override;
  void GetProvisioningDomainState(GetProvisioningDomainStateCallback callback) override;
};
class  PageHandlerAsyncWaiter {
 public:
  explicit PageHandlerAsyncWaiter(PageHandler* proxy);

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

  ~PageHandlerAsyncWaiter();
  void GetDeviceTrustState(
      DeviceTrustStatePtr* out_state);
  DeviceTrustStatePtr GetDeviceTrustState();
  void DeleteDeviceTrustKey(
      );
  
  void GetClientCertificateState(
      ClientCertificateStatePtr* out_state);
  ClientCertificateStatePtr GetClientCertificateState();
  void GetSignalsReportingState(
      SignalsReportingStatePtr* out_state);
  SignalsReportingStatePtr GetSignalsReportingState();
  void GetProvisioningDomainState(
      ProvisioningDomainStatePtr* out_state);
  ProvisioningDomainStatePtr GetProvisioningDomainState();

 private:
  PageHandler* const proxy_;
};




}  // connectors_internals::mojom

#endif  // COMPONENTS_ENTERPRISE_CONNECTORS_CONNECTORS_INTERNALS_MOJOM_TEST_UTILS_H_