blob: d06388dd18882cb21836cebeb724a98f52faf617 [file] [log] [blame]
// Copyright 2020 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#ifndef CC_TEST_FAKE_RASTER_QUERY_QUEUE_H_
#define CC_TEST_FAKE_RASTER_QUERY_QUEUE_H_
#include "cc/raster/raster_query_queue.h"
namespace cc {
// Fake RasterQueryQueue that just no-ops all calls.
class FakeRasterQueryQueue : public RasterQueryQueue {
public:
FakeRasterQueryQueue(
viz::RasterContextProvider* const worker_context_provider,
bool oop_rasterization_enabled);
~FakeRasterQueryQueue() override;
// RasterQueryQueue methods.
bool CheckRasterFinishedQueries() override;
};
} // namespace cc
#endif // CC_TEST_FAKE_RASTER_QUERY_QUEUE_H_