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

Unified Diff: media/audio/audio_output_controller.h

Issue 2869733005: Convert some audio code to OnceCallback. (Closed)
Patch Set: Rebase, comments on unretained. 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
Index: media/audio/audio_output_controller.h
diff --git a/media/audio/audio_output_controller.h b/media/audio/audio_output_controller.h
index c18216f64d9c9c5b0638f7412c5ad705e8c8ee96..fe7fa2b093caebfc401efa8eeb2fdc25dcb1d618 100644
--- a/media/audio/audio_output_controller.h
+++ b/media/audio/audio_output_controller.h
@@ -143,7 +143,7 @@ class MEDIA_EXPORT AudioOutputController
//
// It is safe to call this method more than once. Calls after the first one
// will have no effect.
- void Close(const base::Closure& closed_task);
+ void Close(base::OnceClosure closed_task);
// Sets the volume of the audio output stream.
void SetVolume(double volume);

Powered by Google App Engine
This is Rietveld 408576698