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

Unified Diff: cc/scheduler/time_source.h

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/scheduler/time_source.h
diff --git a/cc/scheduler/time_source.h b/cc/scheduler/time_source.h
index 0b47a61fb5fcffc398b232315276101503be5721..140273749f1b7c4beb2918ad9145b2b38d1a2bb6 100644
--- a/cc/scheduler/time_source.h
+++ b/cc/scheduler/time_source.h
@@ -13,7 +13,7 @@ namespace cc {
class TimeSourceClient {
public:
- virtual void onTimerTick() = 0;
+ virtual void OnTimerTick() = 0;
protected:
virtual ~TimeSourceClient() {}
@@ -22,17 +22,17 @@ class TimeSourceClient {
// An generic interface for getting a reliably-ticking timesource of
// a specified rate.
//
-// Be sure to call setActive(false) before releasing your reference to the
+// Be sure to call SetActive(false) before releasing your reference to the
// timer, or it will keep on ticking!
class CC_EXPORT TimeSource : public base::RefCounted<TimeSource> {
public:
- virtual void setClient(TimeSourceClient*) = 0;
- virtual void setActive(bool) = 0;
- virtual bool active() const = 0;
- virtual void setTimebaseAndInterval(base::TimeTicks timebase,
+ virtual void SetClient(TimeSourceClient* client) = 0;
+ virtual void SetActive(bool active) = 0;
+ virtual bool Active() const = 0;
+ virtual void SetTimebaseAndInterval(base::TimeTicks timebase,
base::TimeDelta interval) = 0;
- virtual base::TimeTicks lastTickTime() = 0;
- virtual base::TimeTicks nextTickTime() = 0;
+ virtual base::TimeTicks LastTickTime() = 0;
+ virtual base::TimeTicks NextTickTime() = 0;
protected:
virtual ~TimeSource() {}

Powered by Google App Engine
This is Rietveld 408576698