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

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

Issue 1647773002: MediaStream audio sourcing: Bypass audio processing for non-WebRTC cases. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: NOT FOR REVIEW -- This will be broken-up across multiple CLs. Created 4 years, 10 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 side-by-side diff with in-line comments
Download patch
Index: content/renderer/media/media_stream_source.h
diff --git a/content/renderer/media/media_stream_source.h b/content/renderer/media/media_stream_source.h
index 940efcc30a337da6d9e3957943766fda3b594251..a266e48f611121ab56399983d4d74668465b34da 100644
--- a/content/renderer/media/media_stream_source.h
+++ b/content/renderer/media/media_stream_source.h
@@ -53,11 +53,6 @@ class CONTENT_EXPORT MediaStreamSource
stop_callback_.Reset();
}
- protected:
- // Called when StopSource is called. It allows derived classes to implement
- // its own Stop method.
- virtual void DoStopSource() = 0;
-
// Sets device information about a source that has been created by a
// JavaScript call to GetUserMedia. F.E a camera or microphone.
void SetDeviceInfo(const StreamDeviceInfo& device_info) {
@@ -70,6 +65,11 @@ class CONTENT_EXPORT MediaStreamSource
stop_callback_ = stop_callback;
}
+ protected:
+ // Called when StopSource is called. It allows derived classes to implement
+ // its own Stop method.
+ virtual void DoStopSource() = 0;
+
private:
StreamDeviceInfo device_info_;
SourceStoppedCallback stop_callback_;
« no previous file with comments | « content/renderer/media/media_stream_renderer_factory_impl.cc ('k') | content/renderer/media/mock_media_stream_registry.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698