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

Unified Diff: media/audio/sounds/test_data.h

Issue 115693004: Added volume adjust sound behind the flag. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fixed creation of AudioParameters. Created 7 years 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/sounds/test_data.h
diff --git a/media/audio/sounds/test_data.h b/media/audio/sounds/test_data.h
index d7fb11ddb6b837602aad95f5ed03b12d88692990..777abf13b402709d0c49e5585ad1f592afb7c3cb 100644
--- a/media/audio/sounds/test_data.h
+++ b/media/audio/sounds/test_data.h
@@ -29,9 +29,11 @@ class TestObserver : public AudioStreamHandler::TestObserver {
// AudioStreamHandler::TestObserver implementation:
virtual void OnPlay() OVERRIDE;
+ virtual void OnReplay() OVERRIDE;
virtual void OnStop(size_t cursor) OVERRIDE;
int num_play_requests() const { return num_play_requests_; }
+ int num_replays() const { return num_replays_; }
int num_stop_requests() const { return num_stop_requests_; }
int cursor() const { return cursor_; }
@@ -40,6 +42,7 @@ class TestObserver : public AudioStreamHandler::TestObserver {
base::Closure quit_;
int num_play_requests_;
+ int num_replays_;
int num_stop_requests_;
int cursor_;

Powered by Google App Engine
This is Rietveld 408576698