| OLD | NEW |
| 1 // Copyright 2016 The Chromium Authors. All rights reserved. | 1 // Copyright 2016 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 MOJO_SERVICES_MEDIA_COMMON_TIMELINE_CONTROL_SITE_IMPL_H_ | 5 #ifndef SERVICES_MEDIA_COMMON_TIMELINE_CONTROL_POINT_H_ |
| 6 #define MOJO_SERVICES_MEDIA_COMMON_TIMELINE_CONTROL_SITE_IMPL_H_ | 6 #define SERVICES_MEDIA_COMMON_TIMELINE_CONTROL_POINT_H_ |
| 7 | 7 |
| 8 #include "base/single_thread_task_runner.h" | 8 #include "base/single_thread_task_runner.h" |
| 9 #include "base/synchronization/lock.h" | 9 #include "base/synchronization/lock.h" |
| 10 #include "mojo/public/cpp/bindings/binding.h" | 10 #include "mojo/public/cpp/bindings/binding.h" |
| 11 #include "mojo/services/media/common/cpp/timeline_function.h" | 11 #include "mojo/services/media/common/cpp/timeline_function.h" |
| 12 #include "mojo/services/media/core/interfaces/timeline_controller.mojom.h" | 12 #include "mojo/services/media/core/interfaces/timeline_controller.mojom.h" |
| 13 #include "services/media/common/mojo_publisher.h" | 13 #include "services/media/common/mojo_publisher.h" |
| 14 | 14 |
| 15 namespace mojo { | 15 namespace mojo { |
| 16 namespace media { | 16 namespace media { |
| (...skipping 71 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 88 SetTimelineTransformCallback set_timeline_transform_callback_; | 88 SetTimelineTransformCallback set_timeline_transform_callback_; |
| 89 uint32_t generation_ = 1; | 89 uint32_t generation_ = 1; |
| 90 int64_t end_of_stream_pts_ = kUnspecifiedTime; | 90 int64_t end_of_stream_pts_ = kUnspecifiedTime; |
| 91 bool end_of_stream_published_ = false; | 91 bool end_of_stream_published_ = false; |
| 92 // END fields synchronized using lock_. | 92 // END fields synchronized using lock_. |
| 93 }; | 93 }; |
| 94 | 94 |
| 95 } // namespace media | 95 } // namespace media |
| 96 } // namespace mojo | 96 } // namespace mojo |
| 97 | 97 |
| 98 #endif // MOJO_SERVICES_MEDIA_COMMON_TIMELINE_CONTROL_SITE_IMPL_H_ | 98 #endif // SERVICES_MEDIA_COMMON_TIMELINE_CONTROL_POINT_H_ |
| OLD | NEW |