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

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

Issue 1068593003: Introduce TimeSource notifications to the VideoRenderer. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Single call. Created 5 years, 8 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') | media/base/video_renderer.h » ('J')
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 116 matching lines...) Expand 10 before | Expand all | Expand 10 after
127 const SetDecryptorReadyCB& set_decryptor_ready_cb, 127 const SetDecryptorReadyCB& set_decryptor_ready_cb,
128 const StatisticsCB& statistics_cb, 128 const StatisticsCB& statistics_cb,
129 const BufferingStateCB& buffering_state_cb, 129 const BufferingStateCB& buffering_state_cb,
130 const PaintCB& paint_cb, 130 const PaintCB& paint_cb,
131 const base::Closure& ended_cb, 131 const base::Closure& ended_cb,
132 const PipelineStatusCB& error_cb, 132 const PipelineStatusCB& error_cb,
133 const WallClockTimeCB& wall_clock_time_cb, 133 const WallClockTimeCB& wall_clock_time_cb,
134 const base::Closure& waiting_for_decryption_key_cb)); 134 const base::Closure& waiting_for_decryption_key_cb));
135 MOCK_METHOD1(Flush, void(const base::Closure& callback)); 135 MOCK_METHOD1(Flush, void(const base::Closure& callback));
136 MOCK_METHOD1(StartPlayingFrom, void(base::TimeDelta)); 136 MOCK_METHOD1(StartPlayingFrom, void(base::TimeDelta));
137 MOCK_METHOD1(OnTimeStateChanged, void(bool));
137 138
138 private: 139 private:
139 DISALLOW_COPY_AND_ASSIGN(MockVideoRenderer); 140 DISALLOW_COPY_AND_ASSIGN(MockVideoRenderer);
140 }; 141 };
141 142
142 class MockAudioRenderer : public AudioRenderer { 143 class MockAudioRenderer : public AudioRenderer {
143 public: 144 public:
144 MockAudioRenderer(); 145 MockAudioRenderer();
145 virtual ~MockAudioRenderer(); 146 virtual ~MockAudioRenderer();
146 147
(...skipping 104 matching lines...) Expand 10 before | Expand all | Expand 10 after
251 MOCK_METHOD1(ResetDecoder, void(StreamType stream_type)); 252 MOCK_METHOD1(ResetDecoder, void(StreamType stream_type));
252 MOCK_METHOD1(DeinitializeDecoder, void(StreamType stream_type)); 253 MOCK_METHOD1(DeinitializeDecoder, void(StreamType stream_type));
253 254
254 private: 255 private:
255 DISALLOW_COPY_AND_ASSIGN(MockDecryptor); 256 DISALLOW_COPY_AND_ASSIGN(MockDecryptor);
256 }; 257 };
257 258
258 } // namespace media 259 } // namespace media
259 260
260 #endif // MEDIA_BASE_MOCK_FILTERS_H_ 261 #endif // MEDIA_BASE_MOCK_FILTERS_H_
OLDNEW
« no previous file with comments | « no previous file | media/base/video_renderer.h » ('j') | media/base/video_renderer.h » ('J')

Powered by Google App Engine
This is Rietveld 408576698