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

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

Issue 8936014: Removing DataSource from Filter hierarchy (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Moved preload into a separate file. Created 9 years 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
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 // The pipeline is the public API clients use for playing back media. Clients 5 // The pipeline is the public API clients use for playing back media. Clients
6 // provide a filter collection containing the filters they want the pipeline to 6 // provide a filter collection containing the filters they want the pipeline to
7 // use to render media. 7 // use to render media.
8 8
9 #ifndef MEDIA_BASE_PIPELINE_H_ 9 #ifndef MEDIA_BASE_PIPELINE_H_
10 #define MEDIA_BASE_PIPELINE_H_ 10 #define MEDIA_BASE_PIPELINE_H_
11 11
12 #include <string> 12 #include <string>
13 13
14 #include "media/base/filters.h" 14 #include "media/base/media_export.h"
15 #include "media/base/pipeline_status.h" 15 #include "media/base/pipeline_status.h"
16 #include "media/base/preload.h"
17 #include "ui/gfx/size.h"
16 18
17 namespace base { 19 namespace base {
18 class TimeDelta; 20 class TimeDelta;
19 } 21 }
20 22
21 namespace media { 23 namespace media {
22 24
23 struct PipelineStatistics { 25 struct PipelineStatistics {
24 PipelineStatistics() : 26 PipelineStatistics() :
25 audio_bytes_decoded(0), 27 audio_bytes_decoded(0),
(...skipping 146 matching lines...) Expand 10 before | Expand all | Expand 10 after
172 174
173 protected: 175 protected:
174 // Only allow ourselves to be deleted by reference counting. 176 // Only allow ourselves to be deleted by reference counting.
175 friend class base::RefCountedThreadSafe<Pipeline>; 177 friend class base::RefCountedThreadSafe<Pipeline>;
176 virtual ~Pipeline() {} 178 virtual ~Pipeline() {}
177 }; 179 };
178 180
179 } // namespace media 181 } // namespace media
180 182
181 #endif // MEDIA_BASE_PIPELINE_H_ 183 #endif // MEDIA_BASE_PIPELINE_H_
OLDNEW
« no previous file with comments | « media/base/mock_filters.cc ('k') | media/base/pipeline_impl.h » ('j') | media/media.gyp » ('J')

Powered by Google App Engine
This is Rietveld 408576698