#include "content/browser/quota/quota_change_dispatcher.h"
#include <utility>
#include "base/barrier_closure.h"
#include "base/command_line.h"
#include "base/containers/contains.h"
#include "base/memory/raw_ptr.h"
#include "base/run_loop.h"
#include "base/task/task_traits.h"
#include "base/test/task_environment.h"
#include "content/public/common/content_switches.h"
#include "mojo/public/cpp/bindings/receiver.h"
#include "mojo/public/cpp/bindings/remote.h"
#include "testing/gmock/include/gmock/gmock-matchers.h"
#include "testing/gtest/include/gtest/gtest.h"
#include "third_party/blink/public/mojom/quota/quota_manager_host.mojom.h"
namespace content {
class MockQuotaChangeListener : public blink::mojom::QuotaChangeListener { … };
class QuotaChangeDispatcherTest : public testing::Test { … };
TEST_F(QuotaChangeDispatcherTest, AddChangeListener) { … }
TEST_F(QuotaChangeDispatcherTest, AddChangeListener_DuplicateStorageKeys) { … }
TEST_F(QuotaChangeDispatcherTest, DispatchEvents) { … }
TEST_F(QuotaChangeDispatcherTest, DispatchEvents_Multiple) { … }
TEST_F(QuotaChangeDispatcherTest, RemoveThenDispatch) { … }
}