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

Unified Diff: content/renderer/media/media_stream_dependency_factory.cc

Issue 37253002: Add command line flag --disable-webrtc-encryption for dev and canary channels (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Updating how the disable information is passed to PeerConnection. Created 7 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 side-by-side diff with in-line comments
Download patch
Index: content/renderer/media/media_stream_dependency_factory.cc
diff --git a/content/renderer/media/media_stream_dependency_factory.cc b/content/renderer/media/media_stream_dependency_factory.cc
index a8345c2fc7b61f9bd72d43e6967743f158abe88c..ea5b94f6183301db659a8f0a819a2ad26329968e 100644
--- a/content/renderer/media/media_stream_dependency_factory.cc
+++ b/content/renderer/media/media_stream_dependency_factory.cc
@@ -557,6 +557,8 @@ bool MediaStreamDependencyFactory::CreatePeerConnectionFactory() {
cmd_line->HasSwitch(switches::kEnableWebRtcAecRecordings);
factory_options.disable_sctp_data_channels=
cmd_line->HasSwitch(switches::kDisableSCTPDataChannels);
+ factory_options.disable_encryption =
+ cmd_line->HasSwitch(switches::kDisableWebRtcEncryption);
pc_factory_->SetOptions(factory_options);
return true;
}
« content/public/common/content_switches.cc ('K') | « content/public/common/content_switches.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698