blob: 691f81ee49d91411f15d06add4e1ecd983ff3a9c [file] [log] [blame]
// 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.
namespace media {
class ChunkDemuxer;
// Interface used to notify an external object when a ChunkDemuxer
// is opened & closed.
class ChunkDemuxerClient {
// Called when a ChunkDemuxer object is opened.
virtual void DemuxerOpened(ChunkDemuxer* demuxer) = 0;
// The ChunkDemuxer passed via last DemuxerOpened() call is now
// closed. Any further calls on the demuxer will result in an error.
virtual void DemuxerClosed() = 0;
} // namespace media