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

Unified Diff: remoting/host/security_key/security_key_extension_session.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_extension_session.cc
diff --git a/remoting/host/security_key/security_key_extension_session.cc b/remoting/host/security_key/security_key_extension_session.cc
index f637981bbf44f013cb4326c9a9024cd4e8175fae..966204dc75a8867ae055a9f6c56f7a04f3d86ab0 100644
--- a/remoting/host/security_key/security_key_extension_session.cc
+++ b/remoting/host/security_key/security_key_extension_session.cc
@@ -75,7 +75,9 @@ SecurityKeyExtensionSession::SecurityKeyExtensionSession(
file_task_runner);
}
-SecurityKeyExtensionSession::~SecurityKeyExtensionSession() {}
+SecurityKeyExtensionSession::~SecurityKeyExtensionSession() {
+ DCHECK(thread_checker_.CalledOnValidThread());
+}
// Returns true if the |message| is a Security Key ExtensionMessage.
// This is done so the host does not pass |message| to other HostExtensions.
« no previous file with comments | « remoting/host/security_key/security_key_auth_handler_win.cc ('k') | remoting/host/security_key/security_key_ipc_client.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698