| Index: cc/test/fake_picture_pile.h
|
| diff --git a/cc/test/fake_picture_pile.h b/cc/test/fake_picture_pile.h
|
| new file mode 100644
|
| index 0000000000000000000000000000000000000000..de8165f096f8291c0b5c7a5ccc4ec04293161dea
|
| --- /dev/null
|
| +++ b/cc/test/fake_picture_pile.h
|
| @@ -0,0 +1,28 @@
|
| +// Copyright 2014 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_PICTURE_PILE_H_
|
| +#define CC_TEST_FAKE_PICTURE_PILE_H_
|
| +
|
| +#include "cc/resources/picture_pile.h"
|
| +
|
| +namespace cc {
|
| +class ThreadBlocker;
|
| +
|
| +class FakePicturePile : public PicturePile {
|
| + public:
|
| + explicit FakePicturePile(ThreadBlocker* blocker)
|
| + : raster_thread_blocker_(blocker) {}
|
| + virtual ~FakePicturePile() {}
|
| +
|
| + // PicturePile overrides.
|
| + scoped_refptr<RasterSource> CreateRasterSource() const override;
|
| +
|
| + private:
|
| + ThreadBlocker* raster_thread_blocker_;
|
| +};
|
| +
|
| +} // namespace cc
|
| +
|
| +#endif // CC_TEST_FAKE_PICTURE_PILE_H_
|
|
|