// components/services/storage/public/mojom/storage_service.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_SERVICES_STORAGE_PUBLIC_MOJOM_STORAGE_SERVICE_MOJOM_TEST_UTILS_H_
#define COMPONENTS_SERVICES_STORAGE_PUBLIC_MOJOM_STORAGE_SERVICE_MOJOM_TEST_UTILS_H_

#include "components/services/storage/public/mojom/storage_service.mojom.h"


namespace storage::mojom {


class  StorageServiceInterceptorForTesting : public StorageService {
  virtual StorageService* GetForwardingInterface() = 0;
  void EnableAggressiveDomStorageFlushing() override;
  void BindSessionStorageControl(const std::optional<::base::FilePath>& path, bool clear_on_open, ::mojo::PendingReceiver<::storage::mojom::SessionStorageControl> receiver) override;
  void BindLocalStorageControl(const std::optional<::base::FilePath>& path, ::mojo::PendingReceiver<::storage::mojom::LocalStorageControl> receiver) override;
  void BindTestApi(::mojo::ScopedMessagePipeHandle test_api_receiver) override;
};
class  StorageServiceAsyncWaiter {
 public:
  explicit StorageServiceAsyncWaiter(StorageService* proxy);

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

  ~StorageServiceAsyncWaiter();

 private:
  StorageService* const proxy_;
};




}  // storage::mojom

#endif  // COMPONENTS_SERVICES_STORAGE_PUBLIC_MOJOM_STORAGE_SERVICE_MOJOM_TEST_UTILS_H_