diff options
Diffstat (limited to 'chromium/media/base/simple_watch_timer.h')
-rw-r--r-- | chromium/media/base/simple_watch_timer.h | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/chromium/media/base/simple_watch_timer.h b/chromium/media/base/simple_watch_timer.h index 777fc9b5ed2..e837c1a7904 100644 --- a/chromium/media/base/simple_watch_timer.h +++ b/chromium/media/base/simple_watch_timer.h @@ -33,6 +33,10 @@ class MEDIA_EXPORT SimpleWatchTimer { using GetCurrentTimeCB = base::RepeatingCallback<base::TimeDelta()>; SimpleWatchTimer(TickCB tick_cb, GetCurrentTimeCB get_current_time_cb); + + SimpleWatchTimer(const SimpleWatchTimer&) = delete; + SimpleWatchTimer& operator=(const SimpleWatchTimer&) = delete; + ~SimpleWatchTimer(); void Start(); @@ -47,8 +51,6 @@ class MEDIA_EXPORT SimpleWatchTimer { int unreported_ms_ = 0; base::TimeDelta last_current_time_; base::RepeatingTimer timer_; - - DISALLOW_COPY_AND_ASSIGN(SimpleWatchTimer); }; } // namespace media |