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

Unified Diff: webrtc/base/sequenced_task_checker_impl.h

Issue 2464383002: Use queue label as id in SequencedTaskChecker when not running on TaskQueue (Closed)
Patch Set: code review Created 4 years, 1 month 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 | « no previous file | webrtc/base/sequenced_task_checker_impl.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: webrtc/base/sequenced_task_checker_impl.h
diff --git a/webrtc/base/sequenced_task_checker_impl.h b/webrtc/base/sequenced_task_checker_impl.h
index 96cb32de6d2740f66fd804d0111142094fb698af..684b1dc5027091cbac6cb8f0dd01fe7bb181103a 100644
--- a/webrtc/base/sequenced_task_checker_impl.h
+++ b/webrtc/base/sequenced_task_checker_impl.h
@@ -34,10 +34,11 @@ class SequencedTaskCheckerImpl {
void Detach();
private:
+ typedef const void* QueueId;
CriticalSection lock_;
ThreadChecker thread_checker_;
mutable bool attached_;
- mutable TaskQueue* valid_queue_;
+ mutable QueueId valid_queue_;
};
} // namespace rtc
« no previous file with comments | « no previous file | webrtc/base/sequenced_task_checker_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698