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

Side by Side Diff: media/base/filter_collection.h

Issue 7601002: Revert r95841 due to failing media_unittests on linux_shared bot. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 9 years, 4 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 unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « media/base/djb2.h ('k') | media/base/filter_factories.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. 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 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef MEDIA_BASE_FILTER_COLLECTION_H_ 5 #ifndef MEDIA_BASE_FILTER_COLLECTION_H_
6 #define MEDIA_BASE_FILTER_COLLECTION_H_ 6 #define MEDIA_BASE_FILTER_COLLECTION_H_
7 7
8 #include <list> 8 #include <list>
9 9
10 #include "base/memory/ref_counted.h" 10 #include "base/memory/ref_counted.h"
11 #include "media/base/filters.h" 11 #include "media/base/filters.h"
12 #include "media/base/filter_factories.h" 12 #include "media/base/filter_factories.h"
13 13
14 namespace media { 14 namespace media {
15 15
16 // This is a collection of Filter objects used to form a media playback 16 // This is a collection of Filter objects used to form a media playback
17 // pipeline. See src/media/base/pipeline.h for more information. 17 // pipeline. See src/media/base/pipeline.h for more information.
18 class MEDIA_EXPORT FilterCollection { 18 class FilterCollection {
19 public: 19 public:
20 FilterCollection(); 20 FilterCollection();
21 ~FilterCollection(); 21 ~FilterCollection();
22 22
23 // DemuxerFactory accessor methods. 23 // DemuxerFactory accessor methods.
24 // FilterCollection takes ownership of the factory here. 24 // FilterCollection takes ownership of the factory here.
25 void SetDemuxerFactory(DemuxerFactory* factory); 25 void SetDemuxerFactory(DemuxerFactory* factory);
26 DemuxerFactory* GetDemuxerFactory(); 26 DemuxerFactory* GetDemuxerFactory();
27 27
28 // Adds a filter to the collection. 28 // Adds a filter to the collection.
(...skipping 43 matching lines...) Expand 10 before | Expand all | Expand 10 after
72 72
73 // Helper function that searches the filters list for a specific filter type. 73 // Helper function that searches the filters list for a specific filter type.
74 void SelectFilter(FilterType filter_type, scoped_refptr<Filter>* filter_out); 74 void SelectFilter(FilterType filter_type, scoped_refptr<Filter>* filter_out);
75 75
76 DISALLOW_COPY_AND_ASSIGN(FilterCollection); 76 DISALLOW_COPY_AND_ASSIGN(FilterCollection);
77 }; 77 };
78 78
79 } // namespace media 79 } // namespace media
80 80
81 #endif // MEDIA_BASE_FILTER_COLLECTION_H_ 81 #endif // MEDIA_BASE_FILTER_COLLECTION_H_
OLDNEW
« no previous file with comments | « media/base/djb2.h ('k') | media/base/filter_factories.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698