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

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

Issue 155469: Splitting media filter's Initialize() into Create() + callback and Seek() + callback. (Closed)
Patch Set: Fixed valgrind errors Created 11 years, 5 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
« no previous file with comments | « media/base/filter_host.h ('k') | media/base/filter_host_impl.cc » ('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) 2008-2009 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2008-2009 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 // Implementation of FilterHost. 5 // Implementation of FilterHost.
6 6
7 #ifndef MEDIA_BASE_FILTER_HOST_IMPL_H_ 7 #ifndef MEDIA_BASE_FILTER_HOST_IMPL_H_
8 #define MEDIA_BASE_FILTER_HOST_IMPL_H_ 8 #define MEDIA_BASE_FILTER_HOST_IMPL_H_
9 9
10 #include "base/task.h" 10 #include "base/task.h"
11 #include "media/base/filter_host.h" 11 #include "media/base/filter_host.h"
12 #include "media/base/pipeline_impl.h" 12 #include "media/base/pipeline_impl.h"
13 13
14 namespace media { 14 namespace media {
15 15
16 class FilterHostImpl : public FilterHost { 16 class FilterHostImpl : public FilterHost {
17 public: 17 public:
18 // FilterHost interface. 18 // FilterHost interface.
19 virtual void InitializationComplete();
20 virtual void Error(PipelineError error); 19 virtual void Error(PipelineError error);
21 virtual base::TimeDelta GetTime() const; 20 virtual base::TimeDelta GetTime() const;
22 virtual void SetTime(base::TimeDelta time); 21 virtual void SetTime(base::TimeDelta time);
23 virtual void SetDuration(base::TimeDelta duration); 22 virtual void SetDuration(base::TimeDelta duration);
24 virtual void SetBufferedTime(base::TimeDelta buffered_time); 23 virtual void SetBufferedTime(base::TimeDelta buffered_time);
25 virtual void SetTotalBytes(int64 total_bytes); 24 virtual void SetTotalBytes(int64 total_bytes);
26 virtual void SetBufferedBytes(int64 buffered_bytes); 25 virtual void SetBufferedBytes(int64 buffered_bytes);
27 virtual void SetVideoSize(size_t width, size_t height); 26 virtual void SetVideoSize(size_t width, size_t height);
28 27
29 // These methods are public, but are intended for use by the 28 // These methods are public, but are intended for use by the
(...skipping 46 matching lines...) Expand 10 before | Expand all | Expand 10 after
76 75
77 // Used to avoid calling Filter's Stop() method multiple times. 76 // Used to avoid calling Filter's Stop() method multiple times.
78 bool stopped_; 77 bool stopped_;
79 78
80 DISALLOW_COPY_AND_ASSIGN(FilterHostImpl); 79 DISALLOW_COPY_AND_ASSIGN(FilterHostImpl);
81 }; 80 };
82 81
83 } // namespace media 82 } // namespace media
84 83
85 #endif // MEDIA_BASE_FILTER_HOST_IMPL_H_ 84 #endif // MEDIA_BASE_FILTER_HOST_IMPL_H_
OLDNEW
« no previous file with comments | « media/base/filter_host.h ('k') | media/base/filter_host_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698