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

Issue 37253002: Add command line flag --disable-webrtc-encryption for dev and canary channels (Closed)

Created:
7 years, 2 months ago by Henrik Grunell
Modified:
7 years, 1 month ago
CC:
chromium-reviews, fischman+watch_chromium.org, jam, joi+watch-content_chromium.org, feature-media-reviews_chromium.org, darin-cc_chromium.org, wjia+watch_chromium.org
Visibility:
Public.

Description

Add command line flag --disable-webrtc-encryption for dev and canary channels. It is also be available for "unknown" channel, e.g. unbranded/dev builds. The flag is ignored for beta and stable channels. The purpose of the flag is for app developer to easier debug RTP media related problems in WebRTC. https://code.google.com/p/webrtc/issues/detail?id=491 This CL is based on https://codereview.chromium.org/27131004/ by perkj@. TEST= 1) Start Chrome with the flag --disable-webrtc-encryption. 2) Setup a call using apprtc.appspot.com. 3) Open the JS console and make sure the SDP offer don't contain 'a=crypto:'. BUG=304024 Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=232855

Patch Set 1 #

Patch Set 2 : Don't allow flag for unknown channel + rebase. #

Total comments: 2

Patch Set 3 : Revert to allow unknown channel to copy the flag + code review + rebase. #

Patch Set 4 : Updating how the disable information is passed to PeerConnection. #

Total comments: 5
Unified diffs Side-by-side diffs Delta from patch set Stats (+23 lines, -0 lines) Patch
M chrome/browser/chrome_content_browser_client.cc View 2 2 chunks +12 lines, -0 lines 3 comments Download
M chrome/browser/ui/startup/bad_flags_prompt.cc View 1 chunk +4 lines, -0 lines 0 comments Download
M content/public/common/content_switches.h View 1 2 3 1 chunk +1 line, -0 lines 0 comments Download
M content/public/common/content_switches.cc View 1 2 3 1 chunk +4 lines, -0 lines 2 comments Download
M content/renderer/media/media_stream_dependency_factory.cc View 1 2 3 1 chunk +2 lines, -0 lines 0 comments Download

Messages

Total messages: 20 (0 generated)
Henrik Grunell
Please review this. Joi, as owner of content/public and please also chrome/browser/chrome_content_browser_client.cc. Justin, confirm that ...
7 years, 2 months ago (2013-10-23 15:30:32 UTC) #1
Henrik Grunell
Oh and another thing, this depends on a libjingle roll and the change in content/renderer/media/rtc_peer_connection_handler.cc ...
7 years, 2 months ago (2013-10-23 15:32:47 UTC) #2
Ami GONE FROM CHROMIUM
<drive-by> Supporting this flag for dev builds seems useful to me, so I'd lobby for ...
7 years, 2 months ago (2013-10-23 15:55:51 UTC) #3
Henrik Grunell
On 2013/10/23 15:55:51, Ami Fischman wrote: > <drive-by> > Supporting this flag for dev builds ...
7 years, 2 months ago (2013-10-23 16:03:06 UTC) #4
Ami GONE FROM WEBRTC_CHROMIUM
(still a drive-by) I missed that your comment turned on the possibility of GetChannel "failing" ...
7 years, 2 months ago (2013-10-23 16:44:44 UTC) #5
Henrik Grunell
On 2013/10/23 16:44:44, fischman1 wrote: > (still a drive-by) > I missed that your comment ...
7 years, 2 months ago (2013-10-23 18:36:41 UTC) #6
Ami GONE FROM WEBRTC_CHROMIUM
Chromium source in an unbranded build will always return UNKNOWN. Of course once you're in ...
7 years, 2 months ago (2013-10-23 18:40:01 UTC) #7
Jói
LGTM for my bits. Looked at the whole change and tend to agree with Ami ...
7 years, 2 months ago (2013-10-23 21:57:17 UTC) #8
Henrik Grunell
I took a look at the code for posix. VersionInfo::GetChannel() will return CHANNEL_UNKNOWN if VersionInfo::GetVersionStringModifier() ...
7 years, 2 months ago (2013-10-24 09:13:04 UTC) #9
Henrik Grunell
Adding sky@ as owner of chrome/browser/ui, please review that single file. New patch that allows ...
7 years, 2 months ago (2013-10-24 10:01:12 UTC) #10
Henrik Grunell
Patch set 4 is updates based on pending CL https://codereview.chromium.org/30983002/ (changes how the info is ...
7 years, 2 months ago (2013-10-24 11:38:02 UTC) #11
juberti
Checking !stable && !beta SGTM. On Thu, Oct 24, 2013 at 2:13 AM, <grunell@chromium.org> wrote: ...
7 years, 2 months ago (2013-10-24 15:35:56 UTC) #12
Ami GONE FROM CHROMIUM
LGTM https://codereview.chromium.org/37253002/diff/180001/content/public/common/content_switches.cc File content/public/common/content_switches.cc (right): https://codereview.chromium.org/37253002/diff/180001/content/public/common/content_switches.cc#newcode923 content/public/common/content_switches.cc:923: const char kDisableWebRtcEncryption[] = "disable-webrtc-encryption"; I wonder if ...
7 years, 2 months ago (2013-10-24 16:37:44 UTC) #13
sky
https://codereview.chromium.org/37253002/diff/180001/chrome/browser/chrome_content_browser_client.cc File chrome/browser/chrome_content_browser_client.cc (right): https://codereview.chromium.org/37253002/diff/180001/chrome/browser/chrome_content_browser_client.cc#newcode1437 chrome/browser/chrome_content_browser_client.cc:1437: command_line->CopySwitchesFrom(browser_command_line, Can you simplify to AppendSwitch?
7 years, 1 month ago (2013-10-28 14:10:21 UTC) #14
Henrik Grunell
https://codereview.chromium.org/37253002/diff/180001/chrome/browser/chrome_content_browser_client.cc File chrome/browser/chrome_content_browser_client.cc (right): https://codereview.chromium.org/37253002/diff/180001/chrome/browser/chrome_content_browser_client.cc#newcode1437 chrome/browser/chrome_content_browser_client.cc:1437: command_line->CopySwitchesFrom(browser_command_line, On 2013/10/28 14:10:22, sky wrote: > Can you ...
7 years, 1 month ago (2013-10-28 15:06:57 UTC) #15
sky
LGTM https://codereview.chromium.org/37253002/diff/180001/chrome/browser/chrome_content_browser_client.cc File chrome/browser/chrome_content_browser_client.cc (right): https://codereview.chromium.org/37253002/diff/180001/chrome/browser/chrome_content_browser_client.cc#newcode1437 chrome/browser/chrome_content_browser_client.cc:1437: command_line->CopySwitchesFrom(browser_command_line, On 2013/10/28 15:06:57, Henrik Grunell wrote: > ...
7 years, 1 month ago (2013-10-28 19:49:14 UTC) #16
juberti
lgtm regarding the policy used to enable/disable based on channels.
7 years, 1 month ago (2013-10-28 21:20:10 UTC) #17
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/grunell@chromium.org/37253002/180001
7 years, 1 month ago (2013-11-04 15:21:47 UTC) #18
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/grunell@chromium.org/37253002/180001
7 years, 1 month ago (2013-11-04 17:39:15 UTC) #19
commit-bot: I haz the power
7 years, 1 month ago (2013-11-05 00:53:25 UTC) #20
Message was sent while issue was closed.
Change committed as 232855

Powered by Google App Engine
This is Rietveld 408576698