Add details (where missing) for histograms and remove a few that are not worth provid...
[chromium-blink-merge.git] / media / base / buffering_state.h
blob3140505847eaca8d9d73a66c9fee6d42727f78e9
1 // Copyright 2014 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
5 #ifndef MEDIA_BASE_BUFFERING_STATE_H_
6 #define MEDIA_BASE_BUFFERING_STATE_H_
8 #include "base/callback_forward.h"
10 namespace media {
12 enum BufferingState {
13 // Indicates that there is no data buffered.
15 // Typical reason is data underflow and hence playback should be paused.
16 BUFFERING_HAVE_NOTHING,
18 // Indicates that enough data has been buffered.
20 // Typical reason is enough data has been prerolled to start playback.
21 BUFFERING_HAVE_ENOUGH,
24 } // namespace media
26 #endif // MEDIA_BASE_BUFFERING_STATE_H_