// components/network_hints/common/network_hints.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_NETWORK_HINTS_COMMON_NETWORK_HINTS_MOJOM_TEST_UTILS_H_
#define COMPONENTS_NETWORK_HINTS_COMMON_NETWORK_HINTS_MOJOM_TEST_UTILS_H_

#include "components/network_hints/common/network_hints.mojom.h"


namespace network_hints::mojom {


class  NetworkHintsHandlerInterceptorForTesting : public NetworkHintsHandler {
  virtual NetworkHintsHandler* GetForwardingInterface() = 0;
  void PrefetchDNS(const std::vector<::url::SchemeHostPort>& url_list) override;
  void Preconnect(const ::url::SchemeHostPort& url, bool allow_credentials) override;
};
class  NetworkHintsHandlerAsyncWaiter {
 public:
  explicit NetworkHintsHandlerAsyncWaiter(NetworkHintsHandler* proxy);

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

  ~NetworkHintsHandlerAsyncWaiter();

 private:
  NetworkHintsHandler* const proxy_;
};




}  // network_hints::mojom

#endif  // COMPONENTS_NETWORK_HINTS_COMMON_NETWORK_HINTS_MOJOM_TEST_UTILS_H_