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

Unified Diff: cc/timer.h

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
« cc/active_animation.h ('K') | « cc/time_source.h ('k') | cc/timer.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/timer.h
diff --git a/cc/timer.h b/cc/timer.h
index 58d50dd6f6af038858226a288ea55900f878eaee..d18580f54b105c7b245159ce6eb838c2a7cbc8cf 100644
--- a/cc/timer.h
+++ b/cc/timer.h
@@ -7,20 +7,20 @@
namespace cc {
-class CCThread;
-class CCTimerTask;
+class Thread;
+class TimerTask;
-class CCTimerClient {
+class TimerClient {
public:
- virtual ~CCTimerClient() { }
+ virtual ~TimerClient() { }
virtual void onTimerFired() = 0;
};
-class CCTimer {
+class Timer {
public:
- CCTimer(CCThread*, CCTimerClient*);
- ~CCTimer();
+ Timer(Thread*, TimerClient*);
+ ~Timer();
// If a previous task is pending, it will be replaced with the new one.
void startOneShot(double intervalSeconds);
@@ -29,11 +29,11 @@ public:
bool isActive() const { return m_task; }
private:
- friend class CCTimerTask;
+ friend class TimerTask;
- CCTimerClient* m_client;
- CCThread* m_thread;
- CCTimerTask* m_task; // weak pointer
+ TimerClient* m_client;
+ Thread* m_thread;
+ TimerTask* m_task; // weak pointer
};
} // namespace cc
« cc/active_animation.h ('K') | « cc/time_source.h ('k') | cc/timer.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698