OLD | NEW |
1 // Copyright 2013 The Chromium Authors. All rights reserved. | 1 // Copyright 2013 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_BLINK_MULTIBUFFER_DATA_SOURCE_H_ | 5 #ifndef MEDIA_BLINK_MULTIBUFFER_DATA_SOURCE_H_ |
6 #define MEDIA_BLINK_MULTIBUFFER_DATA_SOURCE_H_ | 6 #define MEDIA_BLINK_MULTIBUFFER_DATA_SOURCE_H_ |
7 | 7 |
| 8 #include <stdint.h> |
| 9 |
8 #include <string> | 10 #include <string> |
9 #include <vector> | 11 #include <vector> |
10 | 12 |
11 #include "base/callback.h" | 13 #include "base/callback.h" |
12 #include "base/macros.h" | 14 #include "base/macros.h" |
13 #include "base/memory/linked_ptr.h" | 15 #include "base/memory/linked_ptr.h" |
14 #include "base/memory/scoped_ptr.h" | 16 #include "base/memory/scoped_ptr.h" |
15 #include "base/memory/weak_ptr.h" | 17 #include "base/memory/weak_ptr.h" |
16 #include "base/synchronization/lock.h" | 18 #include "base/synchronization/lock.h" |
17 #include "media/base/data_source.h" | 19 #include "media/base/data_source.h" |
(...skipping 220 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
238 // reaching into this class from multiple threads to attain a WeakPtr. | 240 // reaching into this class from multiple threads to attain a WeakPtr. |
239 base::WeakPtr<MultibufferDataSource> weak_ptr_; | 241 base::WeakPtr<MultibufferDataSource> weak_ptr_; |
240 base::WeakPtrFactory<MultibufferDataSource> weak_factory_; | 242 base::WeakPtrFactory<MultibufferDataSource> weak_factory_; |
241 | 243 |
242 DISALLOW_COPY_AND_ASSIGN(MultibufferDataSource); | 244 DISALLOW_COPY_AND_ASSIGN(MultibufferDataSource); |
243 }; | 245 }; |
244 | 246 |
245 } // namespace media | 247 } // namespace media |
246 | 248 |
247 #endif // MEDIA_BLINK_MULTIBUFFER_DATA_SOURCE_H_ | 249 #endif // MEDIA_BLINK_MULTIBUFFER_DATA_SOURCE_H_ |
OLD | NEW |