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

Unified Diff: chrome/browser/jankometer.cc

Issue 12212048: Linux/ChromeOS Chromium style checker cleanup, chrome/browser edition. (Closed) Base URL: http://src.chromium.org/svn/trunk/src/
Patch Set: Created 7 years, 10 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: chrome/browser/jankometer.cc
===================================================================
--- chrome/browser/jankometer.cc (revision 181040)
+++ chrome/browser/jankometer.cc (working copy)
@@ -66,7 +66,7 @@
virtual ~JankWatchdog() {}
- virtual void Alarm() {
+ virtual void Alarm() OVERRIDE {
// Put break point here if you want to stop threads and look at what caused
// the jankiness.
alarm_count_++;
@@ -257,7 +257,7 @@
private:
friend class base::RefCountedThreadSafe<IOJankObserver>;
- ~IOJankObserver() {}
+ virtual ~IOJankObserver() {}
JankObserverHelper helper_;
@@ -337,7 +337,7 @@
virtual void DidProcessEvent(const base::NativeEvent& event) OVERRIDE {
}
#elif defined(TOOLKIT_GTK)
- virtual void WillProcessEvent(GdkEvent* event) {
+ virtual void WillProcessEvent(GdkEvent* event) OVERRIDE {
if (!helper_.MessageWillBeMeasured())
return;
// TODO(evanm): we want to set queueing_time_ using
@@ -348,7 +348,7 @@
helper_.StartProcessingTimers(queueing_time);
}
- virtual void DidProcessEvent(GdkEvent* event) {
+ virtual void DidProcessEvent(GdkEvent* event) OVERRIDE {
helper_.EndProcessingTimers();
}
#endif
@@ -356,7 +356,7 @@
private:
friend class base::RefCountedThreadSafe<UIJankObserver>;
- ~UIJankObserver() {}
+ virtual ~UIJankObserver() {}
JankObserverHelper helper_;

Powered by Google App Engine
This is Rietveld 408576698