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_BUFFERED_DATA_SOURCE_H_ | 5 #ifndef MEDIA_BLINK_BUFFERED_DATA_SOURCE_H_ |
6 #define MEDIA_BLINK_BUFFERED_DATA_SOURCE_H_ | 6 #define MEDIA_BLINK_BUFFERED_DATA_SOURCE_H_ |
7 | 7 |
8 #include <string> | 8 #include <string> |
9 #include <vector> | 9 #include <vector> |
10 | 10 |
11 #include "base/callback.h" | 11 #include "base/callback.h" |
| 12 #include "base/macros.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 "media/base/data_source.h" | 16 #include "media/base/data_source.h" |
16 #include "media/base/ranges.h" | 17 #include "media/base/ranges.h" |
17 #include "media/blink/buffered_resource_loader.h" | 18 #include "media/blink/buffered_resource_loader.h" |
18 #include "media/blink/media_blink_export.h" | 19 #include "media/blink/media_blink_export.h" |
19 #include "url/gurl.h" | 20 #include "url/gurl.h" |
20 | 21 |
21 namespace base { | 22 namespace base { |
(...skipping 301 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
323 // reaching into this class from multiple threads to attain a WeakPtr. | 324 // reaching into this class from multiple threads to attain a WeakPtr. |
324 base::WeakPtr<BufferedDataSource> weak_ptr_; | 325 base::WeakPtr<BufferedDataSource> weak_ptr_; |
325 base::WeakPtrFactory<BufferedDataSource> weak_factory_; | 326 base::WeakPtrFactory<BufferedDataSource> weak_factory_; |
326 | 327 |
327 DISALLOW_COPY_AND_ASSIGN(BufferedDataSource); | 328 DISALLOW_COPY_AND_ASSIGN(BufferedDataSource); |
328 }; | 329 }; |
329 | 330 |
330 } // namespace media | 331 } // namespace media |
331 | 332 |
332 #endif // MEDIA_BLINK_BUFFERED_DATA_SOURCE_H_ | 333 #endif // MEDIA_BLINK_BUFFERED_DATA_SOURCE_H_ |
OLD | NEW |