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

Unified Diff: remoting/host/heartbeat_sender.cc

Issue 2888733002: Adding ThreadChecker validation to d'tors for host classes (Closed)
Patch Set: Created 3 years, 7 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
« no previous file with comments | « remoting/host/gcd_state_updater.cc ('k') | remoting/host/linux/certificate_watcher.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: remoting/host/heartbeat_sender.cc
diff --git a/remoting/host/heartbeat_sender.cc b/remoting/host/heartbeat_sender.cc
index 8df8890f588c1f3cc06b9dcc40c64ffd900c6bbc..d5d38a57b2e8e108965c558169756d2684c0072f 100644
--- a/remoting/host/heartbeat_sender.cc
+++ b/remoting/host/heartbeat_sender.cc
@@ -85,6 +85,7 @@ HeartbeatSender::HeartbeatSender(
}
HeartbeatSender::~HeartbeatSender() {
+ DCHECK(thread_checker_.CalledOnValidThread());
signal_strategy_->RemoveListener(this);
}
« no previous file with comments | « remoting/host/gcd_state_updater.cc ('k') | remoting/host/linux/certificate_watcher.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698