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

Unified Diff: remoting/protocol/capture_scheduler.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/audio_decode_scheduler.cc ('k') | remoting/protocol/channel_socket_adapter.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: remoting/protocol/capture_scheduler.cc
diff --git a/remoting/protocol/capture_scheduler.cc b/remoting/protocol/capture_scheduler.cc
index 963d9eeb6b0dabfcff8bd07212e1bfb32a9f8c67..6fffbe2ecbacbfed4dc76475ecd08b72e467a6c4 100644
--- a/remoting/protocol/capture_scheduler.cc
+++ b/remoting/protocol/capture_scheduler.cc
@@ -61,6 +61,7 @@ CaptureScheduler::CaptureScheduler(const base::Closure& capture_closure)
}
CaptureScheduler::~CaptureScheduler() {
+ DCHECK(thread_checker_.CalledOnValidThread());
}
void CaptureScheduler::Start() {
« no previous file with comments | « remoting/protocol/audio_decode_scheduler.cc ('k') | remoting/protocol/channel_socket_adapter.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698