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

Unified Diff: remoting/protocol/ice_connection_to_client.cc

Issue 2890833002: Adding ThreadChecker validation to d'tors for protocol 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/protocol/channel_socket_adapter.cc ('k') | remoting/protocol/ice_transport_channel.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: remoting/protocol/ice_connection_to_client.cc
diff --git a/remoting/protocol/ice_connection_to_client.cc b/remoting/protocol/ice_connection_to_client.cc
index 90f9b1acdca011c67fafe942ad716feb1a7f84cf..6402e7c52ce0089decded7831cdc839e965a44c4 100644
--- a/remoting/protocol/ice_connection_to_client.cc
+++ b/remoting/protocol/ice_connection_to_client.cc
@@ -67,7 +67,9 @@ IceConnectionToClient::IceConnectionToClient(
session_->SetTransport(&transport_);
}
-IceConnectionToClient::~IceConnectionToClient() {}
+IceConnectionToClient::~IceConnectionToClient() {
+ DCHECK(thread_checker_.CalledOnValidThread());
+}
void IceConnectionToClient::SetEventHandler(
ConnectionToClient::EventHandler* event_handler) {
« no previous file with comments | « remoting/protocol/channel_socket_adapter.cc ('k') | remoting/protocol/ice_transport_channel.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698