| OLD | NEW | 
|    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 #include "media/base/composite_filter.h" |    5 #include "media/base/composite_filter.h" | 
|    6  |    6  | 
|    7 #include "base/bind.h" |    7 #include "base/bind.h" | 
|    8 #include "base/message_loop.h" |    8 #include "base/message_loop.h" | 
|    9 #include "base/stl_util-inl.h" |    9 #include "base/stl_util.h" | 
|   10 #include "media/base/callback.h" |   10 #include "media/base/callback.h" | 
|   11  |   11  | 
|   12 namespace media { |   12 namespace media { | 
|   13  |   13  | 
|   14 class CompositeFilter::FilterHostImpl : public FilterHost { |   14 class CompositeFilter::FilterHostImpl : public FilterHost { | 
|   15  public: |   15  public: | 
|   16   FilterHostImpl(CompositeFilter* parent, FilterHost* host); |   16   FilterHostImpl(CompositeFilter* parent, FilterHost* host); | 
|   17  |   17  | 
|   18   FilterHost* host(); |   18   FilterHost* host(); | 
|   19  |   19  | 
| (...skipping 534 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
|  554  |  554  | 
|  555 void CompositeFilter::FilterHostImpl::SetCurrentReadPosition(int64 offset) { |  555 void CompositeFilter::FilterHostImpl::SetCurrentReadPosition(int64 offset) { | 
|  556   host_->SetCurrentReadPosition(offset); |  556   host_->SetCurrentReadPosition(offset); | 
|  557 } |  557 } | 
|  558  |  558  | 
|  559 int64 CompositeFilter::FilterHostImpl::GetCurrentReadPosition() { |  559 int64 CompositeFilter::FilterHostImpl::GetCurrentReadPosition() { | 
|  560   return host_->GetCurrentReadPosition(); |  560   return host_->GetCurrentReadPosition(); | 
|  561 } |  561 } | 
|  562  |  562  | 
|  563 }  // namespace media |  563 }  // namespace media | 
| OLD | NEW |