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

Unified Diff: content/browser/media/audio_stream_monitor.h

Issue 1355063004: Template methods on Timer classes instead of the classes themselves. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: timer: fixcaller Created 5 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
Index: content/browser/media/audio_stream_monitor.h
diff --git a/content/browser/media/audio_stream_monitor.h b/content/browser/media/audio_stream_monitor.h
index bf5de689bb0866ce6dd0eccbcd922929834791d4..7756d3ef118ce9dd8c5ae02f2b10fd435804a200 100644
--- a/content/browser/media/audio_stream_monitor.h
+++ b/content/browser/media/audio_stream_monitor.h
@@ -139,11 +139,11 @@ class CONTENT_EXPORT AudioStreamMonitor {
bool was_recently_audible_;
// Calls Poll() at regular intervals while |poll_callbacks_| is non-empty.
- base::RepeatingTimer<AudioStreamMonitor> poll_timer_;
+ base::RepeatingTimer poll_timer_;
// Started only when an indicator is toggled on, to turn it off again in the
// future.
- base::OneShotTimer<AudioStreamMonitor> off_timer_;
+ base::OneShotTimer off_timer_;
DISALLOW_COPY_AND_ASSIGN(AudioStreamMonitor);
};
« no previous file with comments | « content/browser/loader/resource_dispatcher_host_unittest.cc ('k') | content/browser/media/capture/desktop_capture_device.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698