Revert "Delete CC."
This reverts commit fd8d366e8df2be647c90dce32211e27507b0cb23.
Reverting unreviewed changes.
TBR=jeffbrown@google.com
Review URL: https://codereview.chromium.org/1531403002 .
diff --git a/cc/test/fake_output_surface_client.cc b/cc/test/fake_output_surface_client.cc
new file mode 100644
index 0000000..073a29f
--- /dev/null
+++ b/cc/test/fake_output_surface_client.cc
@@ -0,0 +1,32 @@
+// Copyright 2013 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.
+
+#include "cc/output/output_surface.h"
+#include "cc/test/fake_output_surface_client.h"
+
+namespace cc {
+
+void FakeOutputSurfaceClient::DeferredInitialize() {
+ deferred_initialize_called_ = true;
+}
+
+void FakeOutputSurfaceClient::ReleaseGL() {
+ if (output_surface_)
+ output_surface_->ReleaseContextProvider();
+}
+
+void FakeOutputSurfaceClient::DidSwapBuffers() {
+ swap_count_++;
+}
+
+void FakeOutputSurfaceClient::DidLoseOutputSurface() {
+ did_lose_output_surface_called_ = true;
+}
+
+void FakeOutputSurfaceClient::SetMemoryPolicy(
+ const ManagedMemoryPolicy& policy) {
+ memory_policy_ = policy;
+}
+
+} // namespace cc