1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
cc / test / fake_raster_query_queue.h [blame]
// Copyright 2020 The Chromium Authors
// 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:
explicit FakeRasterQueryQueue(
viz::RasterContextProvider* const worker_context_provider);
~FakeRasterQueryQueue() override;
// RasterQueryQueue methods.
bool CheckRasterFinishedQueries() override;
};
} // namespace cc
#endif // CC_TEST_FAKE_RASTER_QUERY_QUEUE_H_