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

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

Issue 2372863002: Rename VideoRenderer::OnTimeStateChanged to OnTime{Progressing,Stopped} (Closed)
Patch Set: suggestion Created 4 years, 2 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 | « no previous file | media/base/video_renderer.h » ('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 <stdint.h> 8 #include <stdint.h>
9 9
10 #include <memory> 10 #include <memory>
(...skipping 227 matching lines...) Expand 10 before | Expand all | Expand 10 after
238 238
239 // VideoRenderer implementation. 239 // VideoRenderer implementation.
240 MOCK_METHOD5(Initialize, 240 MOCK_METHOD5(Initialize,
241 void(DemuxerStream* stream, 241 void(DemuxerStream* stream,
242 CdmContext* cdm_context, 242 CdmContext* cdm_context,
243 RendererClient* client, 243 RendererClient* client,
244 const TimeSource::WallClockTimeCB& wall_clock_time_cb, 244 const TimeSource::WallClockTimeCB& wall_clock_time_cb,
245 const PipelineStatusCB& init_cb)); 245 const PipelineStatusCB& init_cb));
246 MOCK_METHOD1(Flush, void(const base::Closure& callback)); 246 MOCK_METHOD1(Flush, void(const base::Closure& callback));
247 MOCK_METHOD1(StartPlayingFrom, void(base::TimeDelta)); 247 MOCK_METHOD1(StartPlayingFrom, void(base::TimeDelta));
248 MOCK_METHOD1(OnTimeStateChanged, void(bool)); 248 MOCK_METHOD0(OnTimeProgressing, void());
249 MOCK_METHOD0(OnTimeStopped, void());
249 250
250 private: 251 private:
251 DISALLOW_COPY_AND_ASSIGN(MockVideoRenderer); 252 DISALLOW_COPY_AND_ASSIGN(MockVideoRenderer);
252 }; 253 };
253 254
254 class MockAudioRenderer : public AudioRenderer { 255 class MockAudioRenderer : public AudioRenderer {
255 public: 256 public:
256 MockAudioRenderer(); 257 MockAudioRenderer();
257 virtual ~MockAudioRenderer(); 258 virtual ~MockAudioRenderer();
258 259
(...skipping 136 matching lines...) Expand 10 before | Expand all | Expand 10 after
395 MOCK_METHOD0(Flush, void()); 396 MOCK_METHOD0(Flush, void());
396 MOCK_METHOD2(Parse, bool(const uint8_t*, int)); 397 MOCK_METHOD2(Parse, bool(const uint8_t*, int));
397 398
398 private: 399 private:
399 DISALLOW_COPY_AND_ASSIGN(MockStreamParser); 400 DISALLOW_COPY_AND_ASSIGN(MockStreamParser);
400 }; 401 };
401 402
402 } // namespace media 403 } // namespace media
403 404
404 #endif // MEDIA_BASE_MOCK_FILTERS_H_ 405 #endif // MEDIA_BASE_MOCK_FILTERS_H_
OLDNEW
« no previous file with comments | « no previous file | media/base/video_renderer.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698