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

Unified Diff: base/threading/watchdog.h

Issue 8453001: Remove 1 exit time destructor and 1 static initializer from watchdog.cc (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: comments & leaky 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
« no previous file with comments | « no previous file | base/threading/watchdog.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: base/threading/watchdog.h
diff --git a/base/threading/watchdog.h b/base/threading/watchdog.h
index 7991c30d0358d059257c0b1f395684c0579da40d..6ee50022abf0f8b817ef90a04b9b3b128064e2c6 100644
--- a/base/threading/watchdog.h
+++ b/base/threading/watchdog.h
@@ -79,18 +79,6 @@ class BASE_EXPORT Watchdog {
TimeTicks start_time_; // Start of epoch, and alarm after duration_.
- // When the debugger breaks (when we alarm), all the other alarms that are
- // armed will expire (also alarm). To diminish this effect, we track any
- // delay due to debugger breaks, and we *try* to adjust the effective start
- // time of other alarms to step past the debugging break.
- // Without this safety net, any alarm will typically trigger a host of follow
- // on alarms from callers that specify old times.
- static Lock static_lock_; // Lock for access of static data...
- // When did we last alarm and get stuck (for a while) in a debugger?
- static TimeTicks last_debugged_alarm_time_;
- // How long did we sit on a break in the debugger?
- static TimeDelta last_debugged_alarm_delay_;
-
DISALLOW_COPY_AND_ASSIGN(Watchdog);
};
« no previous file with comments | « no previous file | base/threading/watchdog.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698