Factor out a BluetoothChannelMac base class and a BluetoothRfcommChannelMac subclass.
[chromium-blink-merge.git] / cc / test / render_pass_test_common.h
blob24467edf52fc97784ae15ae5a1344afb928f27d0
1 // Copyright 2012 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
5 #ifndef CC_TEST_RENDER_PASS_TEST_COMMON_H_
6 #define CC_TEST_RENDER_PASS_TEST_COMMON_H_
8 #include "cc/quads/render_pass.h"
10 namespace cc {
11 class ResourceProvider;
14 namespace cc {
16 class TestRenderPass : public RenderPass {
17 public:
18 static scoped_ptr<TestRenderPass> Create() {
19 return make_scoped_ptr(new TestRenderPass);
22 void AppendQuad(scoped_ptr<DrawQuad> quad);
24 void AppendOneOfEveryQuadType(ResourceProvider* resource_provider,
25 RenderPass::Id child_pass);
27 protected:
28 TestRenderPass() : RenderPass() {}
31 } // namespace cc
33 #endif // CC_TEST_RENDER_PASS_TEST_COMMON_H_