Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1242)

Unified Diff: cc/debug/test_context_support.cc

Issue 50303007: Move test-only stuff from cc/debug/ to cc/test (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fold cc_test_utils into cc_test_support to fix windows link Created 7 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « cc/debug/test_context_support.h ('k') | cc/debug/test_texture.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/debug/test_context_support.cc
diff --git a/cc/debug/test_context_support.cc b/cc/debug/test_context_support.cc
deleted file mode 100644
index e5a0b93cef0b9845a98e24193dc4b8a868a1e47c..0000000000000000000000000000000000000000
--- a/cc/debug/test_context_support.cc
+++ /dev/null
@@ -1,36 +0,0 @@
-// 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/debug/test_context_support.h"
-
-#include "base/message_loop/message_loop.h"
-
-namespace cc {
-
-TestContextSupport::TestContextSupport() {}
-TestContextSupport::~TestContextSupport() {}
-
-void TestContextSupport::SignalSyncPoint(uint32 sync_point,
- const base::Closure& callback) {
- sync_point_callbacks_.push_back(callback);
-}
-
-void TestContextSupport::SignalQuery(uint32 query,
- const base::Closure& callback) {
- sync_point_callbacks_.push_back(callback);
-}
-
-void TestContextSupport::SendManagedMemoryStats(
- const gpu::ManagedMemoryStats& stats) {
-}
-
-void TestContextSupport::CallAllSyncPointCallbacks() {
- for (size_t i = 0; i < sync_point_callbacks_.size(); ++i) {
- base::MessageLoop::current()->PostTask(
- FROM_HERE, sync_point_callbacks_[i]);
- }
- sync_point_callbacks_.clear();
-}
-
-} // namespace cc
« no previous file with comments | « cc/debug/test_context_support.h ('k') | cc/debug/test_texture.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698