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

Unified Diff: cc/test/scheduler_test_common.cc

Issue 12623026: cc: Chromify TimeSource, DelayBasedTimeSource and test (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 9 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 ebef8b0ea1b761697914044eff0d2d6846a386cc..e96bbbfffd588f8027cb74ea42420ab1e9a08cbc 100644
--- a/cc/test/scheduler_test_common.cc
+++ b/cc/test/scheduler_test_common.cc
@@ -8,7 +8,7 @@
namespace cc {
-void FakeTimeSourceClient::onTimerTick()
+void FakeTimeSourceClient::OnTimerTick()
{
m_tickCalled = true;
}
@@ -49,32 +49,32 @@ bool FakeThread::BelongsToCurrentThread() const
return true;
}
-void FakeTimeSource::setClient(cc::TimeSourceClient* client)
+void FakeTimeSource::SetClient(TimeSourceClient* client)
{
m_client = client;
}
-void FakeTimeSource::setActive(bool b)
+void FakeTimeSource::SetActive(bool b)
{
m_active = b;
}
-bool FakeTimeSource::active() const
+bool FakeTimeSource::Active() const
{
return m_active;
}
-base::TimeTicks FakeTimeSource::lastTickTime()
+base::TimeTicks FakeTimeSource::LastTickTime()
{
return base::TimeTicks();
}
-base::TimeTicks FakeTimeSource::nextTickTime()
+base::TimeTicks FakeTimeSource::NextTickTime()
{
return base::TimeTicks();
}
-base::TimeTicks FakeDelayBasedTimeSource::now() const
+base::TimeTicks FakeDelayBasedTimeSource::Now() const
{
return m_now;
}

Powered by Google App Engine
This is Rietveld 408576698