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

Unified Diff: remoting/protocol/jingle_session.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/ice_transport_channel.cc ('k') | remoting/protocol/monitored_video_stub.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: remoting/protocol/jingle_session.cc
diff --git a/remoting/protocol/jingle_session.cc b/remoting/protocol/jingle_session.cc
index 14d3350d2559affad1ca7ce0a958c0da7cc683a2..dc77271e587768205feb7d08d36e69ec41fd4f12 100644
--- a/remoting/protocol/jingle_session.cc
+++ b/remoting/protocol/jingle_session.cc
@@ -182,6 +182,7 @@ JingleSession::JingleSession(JingleSessionManager* session_manager)
weak_factory_(this) {}
JingleSession::~JingleSession() {
+ DCHECK(thread_checker_.CalledOnValidThread());
session_manager_->SessionDestroyed(this);
}
« no previous file with comments | « remoting/protocol/ice_transport_channel.cc ('k') | remoting/protocol/monitored_video_stub.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698