| 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 #ifndef WEBKIT_GLUE_MEDIA_BUFFERED_DATA_SOURCE_H_ | 5 #ifndef WEBKIT_GLUE_MEDIA_BUFFERED_DATA_SOURCE_H_ |
| 6 #define WEBKIT_GLUE_MEDIA_BUFFERED_DATA_SOURCE_H_ | 6 #define WEBKIT_GLUE_MEDIA_BUFFERED_DATA_SOURCE_H_ |
| 7 | 7 |
| 8 #include <algorithm> | |
| 9 #include <string> | 8 #include <string> |
| 10 #include <vector> | |
| 11 | 9 |
| 12 #include "base/callback.h" | 10 #include "base/callback.h" |
| 13 #include "base/lock.h" | 11 #include "base/lock.h" |
| 14 #include "base/scoped_ptr.h" | 12 #include "base/scoped_ptr.h" |
| 15 #include "base/timer.h" | 13 #include "base/timer.h" |
| 16 #include "base/condition_variable.h" | 14 #include "base/condition_variable.h" |
| 17 #include "googleurl/src/gurl.h" | 15 #include "googleurl/src/gurl.h" |
| 18 #include "media/base/factory.h" | 16 #include "media/base/factory.h" |
| 19 #include "media/base/filters.h" | 17 #include "media/base/filters.h" |
| 20 #include "media/base/media_format.h" | 18 #include "media/base/media_format.h" |
| (...skipping 384 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 405 // loop. The RepeatingTimer does PostDelayedTask() internally, by using it | 403 // loop. The RepeatingTimer does PostDelayedTask() internally, by using it |
| 406 // the message loop doesn't hold a reference for the watch dog task. | 404 // the message loop doesn't hold a reference for the watch dog task. |
| 407 base::RepeatingTimer<BufferedDataSource> watch_dog_timer_; | 405 base::RepeatingTimer<BufferedDataSource> watch_dog_timer_; |
| 408 | 406 |
| 409 DISALLOW_COPY_AND_ASSIGN(BufferedDataSource); | 407 DISALLOW_COPY_AND_ASSIGN(BufferedDataSource); |
| 410 }; | 408 }; |
| 411 | 409 |
| 412 } // namespace webkit_glue | 410 } // namespace webkit_glue |
| 413 | 411 |
| 414 #endif // WEBKIT_GLUE_MEDIA_BUFFERED_DATA_SOURCE_H_ | 412 #endif // WEBKIT_GLUE_MEDIA_BUFFERED_DATA_SOURCE_H_ |
| OLD | NEW |