| Index: chromecast/media/cma/pipeline/av_pipeline_client.h
|
| diff --git a/chromecast/media/cma/pipeline/av_pipeline_client.h b/chromecast/media/cma/pipeline/av_pipeline_client.h
|
| new file mode 100644
|
| index 0000000000000000000000000000000000000000..692871603d792fa4b2f5c9ca8874e68b156c0ef8
|
| --- /dev/null
|
| +++ b/chromecast/media/cma/pipeline/av_pipeline_client.h
|
| @@ -0,0 +1,35 @@
|
| +// Copyright 2014 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 CHROMECAST_MEDIA_CMA_PIPELINE_AV_PIPELINE_CLIENT_H_
|
| +#define CHROMECAST_MEDIA_CMA_PIPELINE_AV_PIPELINE_CLIENT_H_
|
| +
|
| +#include "base/callback.h"
|
| +#include "base/time/time.h"
|
| +#include "media/base/pipeline_status.h"
|
| +
|
| +namespace chromecast {
|
| +namespace media {
|
| +
|
| +struct AvPipelineClient {
|
| + typedef base::Callback<void(
|
| + base::TimeDelta, base::TimeDelta, base::TimeTicks)> TimeUpdateCB;
|
| +
|
| + AvPipelineClient();
|
| + ~AvPipelineClient();
|
| +
|
| + // End of stream notification.
|
| + base::Closure eos_cb;
|
| +
|
| + // Asynchronous playback error notification.
|
| + ::media::PipelineStatusCB playback_error_cb;
|
| +
|
| + // Callback used to report the playback statistics.
|
| + ::media::StatisticsCB statistics_cb;
|
| +};
|
| +
|
| +} // namespace media
|
| +} // namespace chromecast
|
| +
|
| +#endif // CHROMECAST_MEDIA_CMA_PIPELINE_AV_PIPELINE_CLIENT_H_
|
|
|