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

Unified Diff: content/renderer/media/mock_media_stream_dispatcher.h

Issue 2550493003: Add new device ID unit tests to UserMediaClientImpl. (Closed)
Patch Set: hta@'s comments Created 4 years 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 side-by-side diff with in-line comments
Download patch
Index: content/renderer/media/mock_media_stream_dispatcher.h
diff --git a/content/renderer/media/mock_media_stream_dispatcher.h b/content/renderer/media/mock_media_stream_dispatcher.h
index d23f551786c0c483e2e8a64978f6322927e69920..6550031300dca7e92e8ac20ca520c4b7e09987fd 100644
--- a/content/renderer/media/mock_media_stream_dispatcher.h
+++ b/content/renderer/media/mock_media_stream_dispatcher.h
@@ -48,8 +48,9 @@ class MockMediaStreamDispatcher : public MediaStreamDispatcher {
const StreamDeviceInfoArray& video_array() const { return video_array_; }
private:
- void AddAudioInputDeviceToArray(bool matched_output);
- void AddVideoDeviceToArray(bool facing_user);
+ void AddAudioInputDeviceToArray(bool matched_output,
+ const std::string& device_id);
+ void AddVideoDeviceToArray(bool facing_user, const std::string& device_id);
int audio_input_request_id_;
base::WeakPtr<MediaStreamDispatcherEventHandler> event_handler_;

Powered by Google App Engine
This is Rietveld 408576698