Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(802)

Side by Side Diff: media/base/pipeline_impl.h

Issue 2237243002: CL for perf tryjob on linux (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « media/base/mock_filters.h ('k') | media/base/pipeline_impl.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2016 The Chromium Authors. All rights reserved. 1 // Copyright (c) 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 MEDIA_BASE_PIPELINE_IMPL_H_ 5 #ifndef MEDIA_BASE_PIPELINE_IMPL_H_
6 #define MEDIA_BASE_PIPELINE_IMPL_H_ 6 #define MEDIA_BASE_PIPELINE_IMPL_H_
7 7
8 #include <memory> 8 #include <memory>
9 9
10 #include "base/macros.h" 10 #include "base/macros.h"
(...skipping 152 matching lines...) Expand 10 before | Expand all | Expand 10 after
163 double playback_rate_; 163 double playback_rate_;
164 164
165 // Current volume level (from 0.0f to 1.0f). This value is set immediately 165 // Current volume level (from 0.0f to 1.0f). This value is set immediately
166 // via SetVolume() and a task is dispatched on the task runner to notify the 166 // via SetVolume() and a task is dispatched on the task runner to notify the
167 // filters. 167 // filters.
168 float volume_; 168 float volume_;
169 169
170 // Current duration as reported by Demuxer. 170 // Current duration as reported by Demuxer.
171 base::TimeDelta duration_; 171 base::TimeDelta duration_;
172 172
173 // Set by GetMediaTime(), used to prevent the current media time value as
174 // reported to JavaScript from going backwards in time.
175 mutable base::TimeDelta media_time_last_;
176
173 base::ThreadChecker thread_checker_; 177 base::ThreadChecker thread_checker_;
174 base::WeakPtrFactory<PipelineImpl> weak_factory_; 178 base::WeakPtrFactory<PipelineImpl> weak_factory_;
175 179
176 DISALLOW_COPY_AND_ASSIGN(PipelineImpl); 180 DISALLOW_COPY_AND_ASSIGN(PipelineImpl);
177 }; 181 };
178 182
179 } // namespace media 183 } // namespace media
180 184
181 #endif // MEDIA_BASE_PIPELINE_IMPL_H_ 185 #endif // MEDIA_BASE_PIPELINE_IMPL_H_
OLDNEW
« no previous file with comments | « media/base/mock_filters.h ('k') | media/base/pipeline_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698