Index: cc/test/failure_output_surface.h |
diff --git a/cc/test/failure_output_surface.h b/cc/test/failure_output_surface.h |
new file mode 100644 |
index 0000000000000000000000000000000000000000..4878ea508619a5ed9b751a64d7b65762a040492b |
--- /dev/null |
+++ b/cc/test/failure_output_surface.h |
@@ -0,0 +1,24 @@ |
+// 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_FAILURE_OUTPUT_SURFACE_H_ |
+#define CC_TEST_FAILURE_OUTPUT_SURFACE_H_ |
+ |
+#include "cc/test/fake_output_surface.h" |
+ |
+namespace cc { |
+ |
+class FailureOutputSurface : public FakeOutputSurface { |
+ public: |
+ explicit FailureOutputSurface(bool is_delegating); |
+ |
+ bool BindToClient(OutputSurfaceClient* client) override; |
+ |
+ private: |
+ DISALLOW_COPY_AND_ASSIGN(FailureOutputSurface); |
+}; |
+ |
+} // namespace cc |
+ |
+#endif // CC_TEST_FAILURE_OUTPUT_SURFACE_H_ |