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

Unified Diff: remoting/host/win/elevated_native_messaging_host.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/security_key/security_key_socket.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: remoting/host/win/elevated_native_messaging_host.cc
diff --git a/remoting/host/win/elevated_native_messaging_host.cc b/remoting/host/win/elevated_native_messaging_host.cc
index 0e2dcddb5729419cdbae347183e320e50be71b7c..9471e52a010e70e3b82f6d4cce64e447ce7300be 100644
--- a/remoting/host/win/elevated_native_messaging_host.cc
+++ b/remoting/host/win/elevated_native_messaging_host.cc
@@ -32,7 +32,9 @@ ElevatedNativeMessagingHost::ElevatedNativeMessagingHost(
host_process_timeout_(host_timeout),
client_(client) {}
-ElevatedNativeMessagingHost::~ElevatedNativeMessagingHost() {}
+ElevatedNativeMessagingHost::~ElevatedNativeMessagingHost() {
+ DCHECK(thread_checker_.CalledOnValidThread());
+}
void ElevatedNativeMessagingHost::OnMessage(
std::unique_ptr<base::Value> message) {
« no previous file with comments | « remoting/host/security_key/security_key_socket.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698