OLD | NEW |
1 // Copyright (c) 2010 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2010 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 Pipeline. | 5 // Implementation of Pipeline. |
6 | 6 |
7 #ifndef MEDIA_BASE_PIPELINE_IMPL_H_ | 7 #ifndef MEDIA_BASE_PIPELINE_IMPL_H_ |
8 #define MEDIA_BASE_PIPELINE_IMPL_H_ | 8 #define MEDIA_BASE_PIPELINE_IMPL_H_ |
9 | 9 |
10 #include <set> | 10 #include <set> |
11 #include <string> | 11 #include <string> |
12 #include <vector> | 12 #include <vector> |
13 | 13 |
14 #include "base/message_loop.h" | 14 #include "base/message_loop.h" |
15 #include "base/ref_counted.h" | 15 #include "base/ref_counted.h" |
| 16 #include "base/scoped_ptr.h" |
16 #include "base/thread.h" | 17 #include "base/thread.h" |
17 #include "base/time.h" | 18 #include "base/time.h" |
18 #include "media/base/clock_impl.h" | 19 #include "media/base/clock_impl.h" |
19 #include "media/base/filter_host.h" | 20 #include "media/base/filter_host.h" |
20 #include "media/base/pipeline.h" | 21 #include "media/base/pipeline.h" |
21 #include "testing/gtest/include/gtest/gtest_prod.h" | 22 #include "testing/gtest/include/gtest/gtest_prod.h" |
22 | 23 |
23 namespace media { | 24 namespace media { |
24 | 25 |
25 | 26 |
(...skipping 387 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
413 typedef std::vector<base::Thread*> FilterThreadVector; | 414 typedef std::vector<base::Thread*> FilterThreadVector; |
414 FilterThreadVector filter_threads_; | 415 FilterThreadVector filter_threads_; |
415 | 416 |
416 FRIEND_TEST(PipelineImplTest, GetBufferedTime); | 417 FRIEND_TEST(PipelineImplTest, GetBufferedTime); |
417 DISALLOW_COPY_AND_ASSIGN(PipelineImpl); | 418 DISALLOW_COPY_AND_ASSIGN(PipelineImpl); |
418 }; | 419 }; |
419 | 420 |
420 } // namespace media | 421 } // namespace media |
421 | 422 |
422 #endif // MEDIA_BASE_PIPELINE_IMPL_H_ | 423 #endif // MEDIA_BASE_PIPELINE_IMPL_H_ |
OLD | NEW |