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

Unified Diff: chrome/browser/jankometer.cc

Issue 11326: Port base/watchdog to Linux. (Closed) Base URL: http://src.chromium.org/svn/trunk/src/
Patch Set: '' Created 12 years, 1 month 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
« base/watchdog.h ('K') | « base/watchdog_unittest.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/jankometer.cc
===================================================================
--- chrome/browser/jankometer.cc (revision 5921)
+++ chrome/browser/jankometer.cc (working copy)
@@ -54,7 +54,7 @@
JankWatchdog(const TimeDelta& duration,
const std::string& thread_watched_name,
bool enabled)
- : Watchdog(duration, ASCIIToWide(thread_watched_name), enabled),
+ : Watchdog(duration, thread_watched_name, enabled),
thread_name_watched_(thread_watched_name),
alarm_count_(0) {
}
@@ -72,7 +72,7 @@
std::string thread_name_watched_;
int alarm_count_;
- DISALLOW_EVIL_CONSTRUCTORS(JankWatchdog);
+ DISALLOW_COPY_AND_ASSIGN(JankWatchdog);
};
//------------------------------------------------------------------------------
« base/watchdog.h ('K') | « base/watchdog_unittest.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698