// storage/browser/quota/quota_manager_observer.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 STORAGE_BROWSER_QUOTA_QUOTA_MANAGER_OBSERVER_MOJOM_TEST_UTILS_H_
#define STORAGE_BROWSER_QUOTA_QUOTA_MANAGER_OBSERVER_MOJOM_TEST_UTILS_H_

#include "storage/browser/quota/quota_manager_observer.mojom.h"
#include "base/component_export.h"


namespace storage::mojom {


class COMPONENT_EXPORT(STORAGE_BROWSER_INTERFACES) QuotaManagerObserverInterceptorForTesting : public QuotaManagerObserver {
  virtual QuotaManagerObserver* GetForwardingInterface() = 0;
  void OnCreateOrUpdateBucket(const ::storage::BucketInfo& bucket_info) override;
  void OnDeleteBucket(const ::storage::BucketLocator& bucket_locator) override;
};
class COMPONENT_EXPORT(STORAGE_BROWSER_INTERFACES) QuotaManagerObserverAsyncWaiter {
 public:
  explicit QuotaManagerObserverAsyncWaiter(QuotaManagerObserver* proxy);

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

  ~QuotaManagerObserverAsyncWaiter();

 private:
  QuotaManagerObserver* const proxy_;
};




}  // storage::mojom

#endif  // STORAGE_BROWSER_QUOTA_QUOTA_MANAGER_OBSERVER_MOJOM_TEST_UTILS_H_