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

Unified Diff: chrome/browser/metrics/thread_watcher.h

Issue 8573021: chrome: Remove 14 exit time destructors and 2 static initializers. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Hopefully fix problems seen on the bots Created 9 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
Index: chrome/browser/metrics/thread_watcher.h
diff --git a/chrome/browser/metrics/thread_watcher.h b/chrome/browser/metrics/thread_watcher.h
index a36cbac5c14421556917e1f1e07ce1e3454b009f..64d9058ebb82da6a1ac60eb51df27627fe6cfa6c 100644
--- a/chrome/browser/metrics/thread_watcher.h
+++ b/chrome/browser/metrics/thread_watcher.h
@@ -462,7 +462,7 @@ class WatchDogThread : public base::Thread {
virtual ~WatchDogThread();
// Callable on any thread. Returns whether you're currently on a
- // watchdog_thread_.
+ // WatchDogThread.
static bool CurrentlyOnWatchDogThread();
// These are the same methods in message_loop.h, but are guaranteed to either
@@ -486,11 +486,6 @@ class WatchDogThread : public base::Thread {
const base::Closure& task,
int64 delay_ms);
- // This lock protects watchdog_thread_.
- static base::Lock lock_;
-
- static WatchDogThread* watchdog_thread_; // The singleton of this class.
-
DISALLOW_COPY_AND_ASSIGN(WatchDogThread);
};

Powered by Google App Engine
This is Rietveld 408576698