Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(711)

Unified Diff: media/filters/chunk_demuxer_client.h

Issue 10905236: Move ChunkDemuxer handling from WMPProxy to WMPI and remove ChunkDemuxerClient (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Add TODO Created 8 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « media/filters/chunk_demuxer.cc ('k') | media/filters/chunk_demuxer_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: media/filters/chunk_demuxer_client.h
diff --git a/media/filters/chunk_demuxer_client.h b/media/filters/chunk_demuxer_client.h
deleted file mode 100644
index 4ac2f78e08e19577dd1f6b179190716279fa0425..0000000000000000000000000000000000000000
--- a/media/filters/chunk_demuxer_client.h
+++ /dev/null
@@ -1,37 +0,0 @@
-// Copyright (c) 2012 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 MEDIA_FILTERS_CHUNK_DEMUXER_CLIENT_H_
-#define MEDIA_FILTERS_CHUNK_DEMUXER_CLIENT_H_
-
-#include "base/memory/scoped_ptr.h"
-
-namespace media {
-
-class ChunkDemuxer;
-
-// Interface used to notify an external object when a ChunkDemuxer
-// is opened & closed.
-class ChunkDemuxerClient {
- public:
- // 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;
-
- // A decryption key associated with |init_data| may be needed to decrypt the
- // media being demuxed before decoding. Note that the demuxing itself does not
- // need decryption.
- virtual void DemuxerNeedKey(scoped_array<uint8> init_data,
- int init_data_size) = 0;
-
- protected:
- virtual ~ChunkDemuxerClient() {}
-};
-
-} // namespace media
-
-#endif // MEDIA_FILTERS_CHUNK_DEMUXER_CLIENT_H_
« no previous file with comments | « media/filters/chunk_demuxer.cc ('k') | media/filters/chunk_demuxer_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698