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

Unified Diff: cc/test/scheduler_test_common.cc

Issue 11189043: cc: Rename cc classes and members to match filenames (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 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
Index: cc/test/scheduler_test_common.cc
diff --git a/cc/test/scheduler_test_common.cc b/cc/test/scheduler_test_common.cc
index 3e58f36aaf2e7d64b3bfa812b2c6a6be1476fb52..13c069a26e8361634bb114dc2ba186dc2585f7c9 100644
--- a/cc/test/scheduler_test_common.cc
+++ b/cc/test/scheduler_test_common.cc
@@ -8,26 +8,26 @@
namespace WebKitTests {
-void FakeCCTimeSourceClient::onTimerTick()
+void FakeTimeSourceClient::onTimerTick()
{
m_tickCalled = true;
}
-FakeCCThread::FakeCCThread()
+FakeThread::FakeThread()
{
reset();
}
-FakeCCThread::~FakeCCThread()
+FakeThread::~FakeThread()
{
}
-void FakeCCThread::postTask(PassOwnPtr<Task>)
+void FakeThread::postTask(PassOwnPtr<Task>)
{
ASSERT_NOT_REACHED();
}
-void FakeCCThread::postDelayedTask(PassOwnPtr<Task> task, long long delay)
+void FakeThread::postDelayedTask(PassOwnPtr<Task> task, long long delay)
{
if (m_runPendingTaskOnOverwrite && hasPendingTask())
runPendingTask();
@@ -37,37 +37,37 @@ void FakeCCThread::postDelayedTask(PassOwnPtr<Task> task, long long delay)
m_pendingTaskDelay = delay;
}
-base::PlatformThreadId FakeCCThread::threadID() const
+base::PlatformThreadId FakeThread::threadID() const
{
return 0;
}
-void FakeCCTimeSource::setClient(cc::CCTimeSourceClient* client)
+void FakeTimeSource::setClient(cc::TimeSourceClient* client)
{
m_client = client;
}
-void FakeCCTimeSource::setActive(bool b)
+void FakeTimeSource::setActive(bool b)
{
m_active = b;
}
-bool FakeCCTimeSource::active() const
+bool FakeTimeSource::active() const
{
return m_active;
}
-base::TimeTicks FakeCCTimeSource::lastTickTime()
+base::TimeTicks FakeTimeSource::lastTickTime()
{
return base::TimeTicks();
}
-base::TimeTicks FakeCCTimeSource::nextTickTime()
+base::TimeTicks FakeTimeSource::nextTickTime()
{
return base::TimeTicks();
}
-base::TimeTicks FakeCCDelayBasedTimeSource::now() const
+base::TimeTicks FakeDelayBasedTimeSource::now() const
{
return m_now;
}

Powered by Google App Engine
This is Rietveld 408576698