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

Unified Diff: cc/frame_rate_counter.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
Index: cc/frame_rate_counter.h
diff --git a/cc/frame_rate_counter.h b/cc/frame_rate_counter.h
index 3196c28008b4920d0a0d241c4e4a3ac950e0fa40..008c2f30e5551f3de73e21506c3fefb3429d5e5d 100644
--- a/cc/frame_rate_counter.h
+++ b/cc/frame_rate_counter.h
@@ -13,9 +13,9 @@ namespace cc {
// This class maintains a history of timestamps, and provides functionality to
// intelligently compute average frames per second (and standard deviation).
-class CCFrameRateCounter {
+class FrameRateCounter {
public:
- static scoped_ptr<CCFrameRateCounter> create();
+ static scoped_ptr<FrameRateCounter> create();
void markBeginningOfFrame(base::TimeTicks timestamp);
void markEndOfFrame();
@@ -34,7 +34,7 @@ public:
int droppedFrameCount() const { return m_droppedFrameCount; }
private:
- CCFrameRateCounter();
+ FrameRateCounter();
base::TimeDelta frameInterval(int frameNumber) const;
int frameIndex(int frameNumber) const;
@@ -58,7 +58,7 @@ private:
int m_droppedFrameCount;
- DISALLOW_COPY_AND_ASSIGN(CCFrameRateCounter);
+ DISALLOW_COPY_AND_ASSIGN(FrameRateCounter);
};
} // namespace cc

Powered by Google App Engine
This is Rietveld 408576698