| OLD | NEW |
| 1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 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_RENDERERS_RENDERER_IMPL_H_ | 5 #ifndef MEDIA_RENDERERS_RENDERER_IMPL_H_ |
| 6 #define MEDIA_RENDERERS_RENDERER_IMPL_H_ | 6 #define MEDIA_RENDERERS_RENDERER_IMPL_H_ |
| 7 | 7 |
| 8 #include <vector> | 8 #include <vector> |
| 9 | 9 |
| 10 #include "base/cancelable_callback.h" | 10 #include "base/cancelable_callback.h" |
| 11 #include "base/macros.h" |
| 11 #include "base/memory/ref_counted.h" | 12 #include "base/memory/ref_counted.h" |
| 12 #include "base/memory/scoped_ptr.h" | 13 #include "base/memory/scoped_ptr.h" |
| 13 #include "base/memory/weak_ptr.h" | 14 #include "base/memory/weak_ptr.h" |
| 14 #include "base/synchronization/lock.h" | 15 #include "base/synchronization/lock.h" |
| 15 #include "base/time/clock.h" | 16 #include "base/time/clock.h" |
| 16 #include "base/time/default_tick_clock.h" | 17 #include "base/time/default_tick_clock.h" |
| 17 #include "base/time/time.h" | 18 #include "base/time/time.h" |
| 18 #include "media/base/buffering_state.h" | 19 #include "media/base/buffering_state.h" |
| 19 #include "media/base/decryptor.h" | 20 #include "media/base/decryptor.h" |
| 20 #include "media/base/media_export.h" | 21 #include "media/base/media_export.h" |
| (...skipping 168 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 189 | 190 |
| 190 base::WeakPtr<RendererImpl> weak_this_; | 191 base::WeakPtr<RendererImpl> weak_this_; |
| 191 base::WeakPtrFactory<RendererImpl> weak_factory_; | 192 base::WeakPtrFactory<RendererImpl> weak_factory_; |
| 192 | 193 |
| 193 DISALLOW_COPY_AND_ASSIGN(RendererImpl); | 194 DISALLOW_COPY_AND_ASSIGN(RendererImpl); |
| 194 }; | 195 }; |
| 195 | 196 |
| 196 } // namespace media | 197 } // namespace media |
| 197 | 198 |
| 198 #endif // MEDIA_RENDERERS_RENDERER_IMPL_H_ | 199 #endif // MEDIA_RENDERERS_RENDERER_IMPL_H_ |
| OLD | NEW |