OLD | NEW |
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. |
2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 #ifndef CONTENT_COMMON_MEDIA_AUDIO_STREAM_STATE_H_ | 5 #ifndef CONTENT_COMMON_MEDIA_AUDIO_STREAM_STATE_H_ |
6 #define CONTENT_COMMON_MEDIA_AUDIO_STREAM_STATE_H_ | 6 #define CONTENT_COMMON_MEDIA_AUDIO_STREAM_STATE_H_ |
7 #pragma once | |
8 | 7 |
9 // Current status of the audio output stream in the browser process. Browser | 8 // Current status of the audio output stream in the browser process. Browser |
10 // sends information about the current playback state and error to the | 9 // sends information about the current playback state and error to the |
11 // renderer process using this type. | 10 // renderer process using this type. |
12 enum AudioStreamState { | 11 enum AudioStreamState { |
13 kAudioStreamPlaying, | 12 kAudioStreamPlaying, |
14 kAudioStreamPaused, | 13 kAudioStreamPaused, |
15 kAudioStreamError | 14 kAudioStreamError |
16 }; | 15 }; |
17 | 16 |
18 #endif // CONTENT_COMMON_MEDIA_AUDIO_STREAM_STATE_H_ | 17 #endif // CONTENT_COMMON_MEDIA_AUDIO_STREAM_STATE_H_ |
OLD | NEW |