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

Unified Diff: remoting/host/security_key/security_key_auth_handler_win.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
Index: remoting/host/security_key/security_key_auth_handler_win.cc
diff --git a/remoting/host/security_key/security_key_auth_handler_win.cc b/remoting/host/security_key/security_key_auth_handler_win.cc
index 55d72feb2bcd92512ce019676d0f94646f7be818..4f89fed7e75341127fc95421e78a9aad0451a5dd 100644
--- a/remoting/host/security_key/security_key_auth_handler_win.cc
+++ b/remoting/host/security_key/security_key_auth_handler_win.cc
@@ -127,7 +127,9 @@ SecurityKeyAuthHandlerWin::SecurityKeyAuthHandlerWin(
DCHECK(client_session_details_);
}
-SecurityKeyAuthHandlerWin::~SecurityKeyAuthHandlerWin() {}
+SecurityKeyAuthHandlerWin::~SecurityKeyAuthHandlerWin() {
+ DCHECK(thread_checker_.CalledOnValidThread());
+}
void SecurityKeyAuthHandlerWin::CreateSecurityKeyConnection() {
DCHECK(thread_checker_.CalledOnValidThread());

Powered by Google App Engine
This is Rietveld 408576698