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

Side by Side Diff: media/test/pipeline_integration_test_base.h

Issue 935243002: Decryptors can report kNoKey to WebMediaPlayer (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Android changes Created 5 years, 9 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
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_TEST_PIPELINE_INTEGRATION_TEST_BASE_H_ 5 #ifndef MEDIA_TEST_PIPELINE_INTEGRATION_TEST_BASE_H_
6 #define MEDIA_TEST_PIPELINE_INTEGRATION_TEST_BASE_H_ 6 #define MEDIA_TEST_PIPELINE_INTEGRATION_TEST_BASE_H_
7 7
8 #include "base/md5.h" 8 #include "base/md5.h"
9 #include "base/message_loop/message_loop.h" 9 #include "base/message_loop/message_loop.h"
10 #include "media/audio/clockless_audio_sink.h" 10 #include "media/audio/clockless_audio_sink.h"
(...skipping 122 matching lines...) Expand 10 before | Expand all | Expand 10 after
133 virtual scoped_ptr<Renderer> CreateRenderer(); 133 virtual scoped_ptr<Renderer> CreateRenderer();
134 134
135 void OnVideoFramePaint(const scoped_refptr<VideoFrame>& frame); 135 void OnVideoFramePaint(const scoped_refptr<VideoFrame>& frame);
136 136
137 MOCK_METHOD1(OnMetadata, void(PipelineMetadata)); 137 MOCK_METHOD1(OnMetadata, void(PipelineMetadata));
138 MOCK_METHOD1(OnBufferingStateChanged, void(BufferingState)); 138 MOCK_METHOD1(OnBufferingStateChanged, void(BufferingState));
139 MOCK_METHOD1(DecryptorAttached, void(bool)); 139 MOCK_METHOD1(DecryptorAttached, void(bool));
140 MOCK_METHOD2(OnAddTextTrack, 140 MOCK_METHOD2(OnAddTextTrack,
141 void(const TextTrackConfig& config, 141 void(const TextTrackConfig& config,
142 const AddTextTrackDoneCB& done_cb)); 142 const AddTextTrackDoneCB& done_cb));
143 MOCK_METHOD0(OnWaitingForDecryptionKey, void(void));
143 }; 144 };
144 145
145 } // namespace media 146 } // namespace media
146 147
147 #endif // MEDIA_TEST_PIPELINE_INTEGRATION_TEST_BASE_H_ 148 #endif // MEDIA_TEST_PIPELINE_INTEGRATION_TEST_BASE_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698