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

Unified Diff: webrtc/video/overuse_frame_detector.h

Issue 3012853002: Update thread annotiation macros to use RTC_ prefix (Closed)
Patch Set: Rebase Created 3 years, 3 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 | « webrtc/video/end_to_end_tests.cc ('k') | webrtc/video/payload_router.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: webrtc/video/overuse_frame_detector.h
diff --git a/webrtc/video/overuse_frame_detector.h b/webrtc/video/overuse_frame_detector.h
index a5eef51020aff5059666030b1e498694ffc443b3..a4f4588b8c4e4523977f47277ef16b8f8d4d147a 100644
--- a/webrtc/video/overuse_frame_detector.h
+++ b/webrtc/video/overuse_frame_detector.h
@@ -133,27 +133,28 @@ class OveruseFrameDetector {
// Stats metrics.
CpuOveruseMetricsObserver* const metrics_observer_;
- rtc::Optional<CpuOveruseMetrics> metrics_ GUARDED_BY(task_checker_);
+ rtc::Optional<CpuOveruseMetrics> metrics_ RTC_GUARDED_BY(task_checker_);
- int64_t num_process_times_ GUARDED_BY(task_checker_);
+ int64_t num_process_times_ RTC_GUARDED_BY(task_checker_);
- int64_t last_capture_time_us_ GUARDED_BY(task_checker_);
- int64_t last_processed_capture_time_us_ GUARDED_BY(task_checker_);
+ int64_t last_capture_time_us_ RTC_GUARDED_BY(task_checker_);
+ int64_t last_processed_capture_time_us_ RTC_GUARDED_BY(task_checker_);
// Number of pixels of last captured frame.
- int num_pixels_ GUARDED_BY(task_checker_);
- int max_framerate_ GUARDED_BY(task_checker_);
- int64_t last_overuse_time_ms_ GUARDED_BY(task_checker_);
- int checks_above_threshold_ GUARDED_BY(task_checker_);
- int num_overuse_detections_ GUARDED_BY(task_checker_);
- int64_t last_rampup_time_ms_ GUARDED_BY(task_checker_);
- bool in_quick_rampup_ GUARDED_BY(task_checker_);
- int current_rampup_delay_ms_ GUARDED_BY(task_checker_);
+ int num_pixels_ RTC_GUARDED_BY(task_checker_);
+ int max_framerate_ RTC_GUARDED_BY(task_checker_);
+ int64_t last_overuse_time_ms_ RTC_GUARDED_BY(task_checker_);
+ int checks_above_threshold_ RTC_GUARDED_BY(task_checker_);
+ int num_overuse_detections_ RTC_GUARDED_BY(task_checker_);
+ int64_t last_rampup_time_ms_ RTC_GUARDED_BY(task_checker_);
+ bool in_quick_rampup_ RTC_GUARDED_BY(task_checker_);
+ int current_rampup_delay_ms_ RTC_GUARDED_BY(task_checker_);
// TODO(asapersson): Can these be regular members (avoid separate heap
// allocs)?
- const std::unique_ptr<SendProcessingUsage> usage_ GUARDED_BY(task_checker_);
- std::list<FrameTiming> frame_timing_ GUARDED_BY(task_checker_);
+ const std::unique_ptr<SendProcessingUsage> usage_
+ RTC_GUARDED_BY(task_checker_);
+ std::list<FrameTiming> frame_timing_ RTC_GUARDED_BY(task_checker_);
RTC_DISALLOW_COPY_AND_ASSIGN(OveruseFrameDetector);
};
« no previous file with comments | « webrtc/video/end_to_end_tests.cc ('k') | webrtc/video/payload_router.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698