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

Unified Diff: remoting/host/security_key/security_key_auth_handler_posix.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/mouse_shape_pump.cc ('k') | remoting/host/security_key/security_key_auth_handler_win.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: remoting/host/security_key/security_key_auth_handler_posix.cc
diff --git a/remoting/host/security_key/security_key_auth_handler_posix.cc b/remoting/host/security_key/security_key_auth_handler_posix.cc
index 077542d6d4a0cfcf3a1c94fa77f8e48a8173939c..371ba3f1dfd2ae96a48ef730c3b3ab907e063ac6 100644
--- a/remoting/host/security_key/security_key_auth_handler_posix.cc
+++ b/remoting/host/security_key/security_key_auth_handler_posix.cc
@@ -152,6 +152,7 @@ SecurityKeyAuthHandlerPosix::SecurityKeyAuthHandlerPosix(
weak_factory_(this) {}
SecurityKeyAuthHandlerPosix::~SecurityKeyAuthHandlerPosix() {
+ DCHECK(thread_checker_.CalledOnValidThread());
if (file_task_runner_) {
// Attempt to clean up the socket before being destroyed.
file_task_runner_->PostTask(
« no previous file with comments | « remoting/host/mouse_shape_pump.cc ('k') | remoting/host/security_key/security_key_auth_handler_win.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698