srpcgen: Use 'const char*' for string parameters
[chromium-blink-merge.git] / media / filters / chunk_demuxer_client.h
blob691f81ee49d91411f15d06add4e1ecd983ff3a9c
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
3 // found in the LICENSE file.
5 #ifndef MEDIA_FILTERS_CHUNK_DEMUXER_CLIENT_H_
6 #define MEDIA_FILTERS_CHUNK_DEMUXER_CLIENT_H_
8 namespace media {
10 class ChunkDemuxer;
12 // Interface used to notify an external object when a ChunkDemuxer
13 // is opened & closed.
14 class ChunkDemuxerClient {
15 public:
16 // Called when a ChunkDemuxer object is opened.
17 virtual void DemuxerOpened(ChunkDemuxer* demuxer) = 0;
19 // The ChunkDemuxer passed via last DemuxerOpened() call is now
20 // closed. Any further calls on the demuxer will result in an error.
21 virtual void DemuxerClosed() = 0;
24 } // namespace media
26 #endif // MEDIA_FILTERS_CHUNK_DEMUXER_CLIENT_H_