summaryrefslogtreecommitdiffstats
path: root/content/common/audio_stream_state.h
diff options
context:
space:
mode:
Diffstat (limited to 'content/common/audio_stream_state.h')
-rw-r--r--content/common/audio_stream_state.h18
1 files changed, 18 insertions, 0 deletions
diff --git a/content/common/audio_stream_state.h b/content/common/audio_stream_state.h
new file mode 100644
index 0000000..9557772
--- /dev/null
+++ b/content/common/audio_stream_state.h
@@ -0,0 +1,18 @@
+// Copyright (c) 2011 The Chromium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style license that can be
+// found in the LICENSE file.
+
+#ifndef CONTENT_COMMON_AUDIO_STREAM_STATE_H_
+#define CONTENT_COMMON_AUDIO_STREAM_STATE_H_
+#pragma once
+
+// Current status of the audio output stream in the browser process. Browser
+// sends information about the current playback state and error to the
+// renderer process using this type.
+enum AudioStreamState {
+ kAudioStreamPlaying,
+ kAudioStreamPaused,
+ kAudioStreamError
+};
+
+#endif // CONTENT_COMMON_AUDIO_STREAM_STATE_H_