// components/web_cache/public/mojom/web_cache.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_WEB_CACHE_PUBLIC_MOJOM_WEB_CACHE_MOJOM_TEST_UTILS_H_
#define COMPONENTS_WEB_CACHE_PUBLIC_MOJOM_WEB_CACHE_MOJOM_TEST_UTILS_H_

#include "components/web_cache/public/mojom/web_cache.mojom.h"


namespace web_cache::mojom {


class  WebCacheInterceptorForTesting : public WebCache {
  virtual WebCache* GetForwardingInterface() = 0;
  void ClearCache(bool on_navigation) override;
};
class  WebCacheAsyncWaiter {
 public:
  explicit WebCacheAsyncWaiter(WebCache* proxy);

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

  ~WebCacheAsyncWaiter();

 private:
  WebCache* const proxy_;
};




}  // web_cache::mojom

#endif  // COMPONENTS_WEB_CACHE_PUBLIC_MOJOM_WEB_CACHE_MOJOM_TEST_UTILS_H_