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

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

Issue 384943002: Remove media::VideoRenderer::SetPlaybackRate(). (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: use local var Created 6 years, 5 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 | Annotate | Revision Log
« no previous file with comments | « no previous file | media/base/pipeline.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) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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_MOCK_FILTERS_H_ 5 #ifndef MEDIA_BASE_MOCK_FILTERS_H_
6 #define MEDIA_BASE_MOCK_FILTERS_H_ 6 #define MEDIA_BASE_MOCK_FILTERS_H_
7 7
8 #include <string> 8 #include <string>
9 9
10 #include "base/callback.h" 10 #include "base/callback.h"
(...skipping 112 matching lines...) Expand 10 before | Expand all | Expand 10 after
123 const StatisticsCB& statistics_cb, 123 const StatisticsCB& statistics_cb,
124 const TimeCB& time_cb, 124 const TimeCB& time_cb,
125 const BufferingStateCB& buffering_state_cb, 125 const BufferingStateCB& buffering_state_cb,
126 const base::Closure& ended_cb, 126 const base::Closure& ended_cb,
127 const PipelineStatusCB& error_cb, 127 const PipelineStatusCB& error_cb,
128 const TimeDeltaCB& get_time_cb, 128 const TimeDeltaCB& get_time_cb,
129 const TimeDeltaCB& get_duration_cb)); 129 const TimeDeltaCB& get_duration_cb));
130 MOCK_METHOD1(Flush, void(const base::Closure& callback)); 130 MOCK_METHOD1(Flush, void(const base::Closure& callback));
131 MOCK_METHOD1(StartPlayingFrom, void(base::TimeDelta timestamp)); 131 MOCK_METHOD1(StartPlayingFrom, void(base::TimeDelta timestamp));
132 MOCK_METHOD1(Stop, void(const base::Closure& callback)); 132 MOCK_METHOD1(Stop, void(const base::Closure& callback));
133 MOCK_METHOD1(SetPlaybackRate, void(float playback_rate));
134 133
135 private: 134 private:
136 DISALLOW_COPY_AND_ASSIGN(MockVideoRenderer); 135 DISALLOW_COPY_AND_ASSIGN(MockVideoRenderer);
137 }; 136 };
138 137
139 class MockAudioRenderer : public AudioRenderer { 138 class MockAudioRenderer : public AudioRenderer {
140 public: 139 public:
141 MockAudioRenderer(); 140 MockAudioRenderer();
142 virtual ~MockAudioRenderer(); 141 virtual ~MockAudioRenderer();
143 142
(...skipping 68 matching lines...) Expand 10 before | Expand all | Expand 10 after
212 public: 211 public:
213 MockStatisticsCB(); 212 MockStatisticsCB();
214 ~MockStatisticsCB(); 213 ~MockStatisticsCB();
215 214
216 MOCK_METHOD1(OnStatistics, void(const media::PipelineStatistics& statistics)); 215 MOCK_METHOD1(OnStatistics, void(const media::PipelineStatistics& statistics));
217 }; 216 };
218 217
219 } // namespace media 218 } // namespace media
220 219
221 #endif // MEDIA_BASE_MOCK_FILTERS_H_ 220 #endif // MEDIA_BASE_MOCK_FILTERS_H_
OLDNEW
« no previous file with comments | « no previous file | media/base/pipeline.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698