Index: cc/test/fake_impl_proxy.h |
diff --git a/cc/test/fake_impl_proxy.h b/cc/test/fake_impl_proxy.h |
new file mode 100644 |
index 0000000000000000000000000000000000000000..fd87851c4c13f628c16537fe77527bd0c38dd079 |
--- /dev/null |
+++ b/cc/test/fake_impl_proxy.h |
@@ -0,0 +1,27 @@ |
+// 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/single_thread_proxy.h" |
+#include "cc/test/fake_proxy.h" |
+ |
+namespace cc { |
jamesr
2012/12/07 07:28:40
can you put this in namespace cc::test ?
enne (OOO)
2012/12/07 08:16:37
It doesn't look like anything else is in the cc::t
|
+ |
+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_ |