summaryrefslogtreecommitdiffstats
path: root/cc/test/fake_impl_proxy.h
blob: 777da4addee561891387ac26775d5082a03e2014 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
// Copyright 2012 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_IMPL_PROXY_H_
#define CC_TEST_FAKE_IMPL_PROXY_H_

#include "cc/test/fake_proxy.h"
#include "cc/trees/single_thread_proxy.h"

namespace cc {

class FakeImplProxy : public FakeProxy {
 public:
  FakeImplProxy() : FakeProxy(scoped_ptr<Thread>()), set_impl_thread_(this) {}

 private:
  DebugScopedSetImplThread set_impl_thread_;
};

}  // namespace cc

#endif  // CC_TEST_FAKE_IMPL_PROXY_H_