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

Issue 101063003: Add browser test for AEC dump. (Closed)

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

Description

Add browser test for AEC dump. Also: - Code changes to avoid race between enable and disable dump. (This is extremely unlikely in practice due to the file picker dialog when enabling, but may happen in tests.) - Allow enable dump after PeerConnectionFactory creation. This avoids race in tests and also has the benefit of letting a user enable the dump during an ongoing call. R=jochen@chromium.org, phoglund@chromium.org Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=242042

Patch Set 1 #

Patch Set 2 : Some fixes. #

Patch Set 3 : Added another test case. #

Patch Set 4 : Added another test. Code changes to avoid race. Allow enable dump after PCF creation. #

Total comments: 20

Patch Set 5 : Code review. #

Patch Set 6 : Rebase #

Patch Set 7 : Don't check return value of DeleteFile. #

Total comments: 6

Patch Set 8 : Code review. #

Patch Set 9 : Rebase #

Patch Set 10 : Rebase #

Unified diffs Side-by-side diffs Delta from patch set Stats (+223 lines, -12 lines) Patch
A content/browser/media/webrtc_aecdump_browsertest.cc View 1 2 3 4 5 6 7 1 chunk +93 lines, -0 lines 0 comments Download
M content/browser/media/webrtc_browsertest.cc View 1 2 3 4 5 6 7 8 2 chunks +81 lines, -0 lines 0 comments Download
M content/browser/media/webrtc_internals.h View 1 2 3 4 2 chunks +4 lines, -0 lines 0 comments Download
M content/browser/renderer_host/render_process_host_impl.h View 1 2 3 1 chunk +1 line, -0 lines 0 comments Download
M content/browser/renderer_host/render_process_host_impl.cc View 1 2 3 4 5 6 7 8 9 3 chunks +18 lines, -1 line 0 comments Download
M content/content_tests.gypi View 1 2 3 4 5 1 chunk +1 line, -0 lines 0 comments Download
M content/public/common/content_switches.h View 1 2 3 4 5 6 7 8 1 chunk +1 line, -1 line 0 comments Download
M content/renderer/media/media_stream_dependency_factory.h View 1 2 3 1 chunk +2 lines, -0 lines 0 comments Download
M content/renderer/media/media_stream_dependency_factory.cc View 1 2 3 3 chunks +22 lines, -10 lines 0 comments Download

Messages

Total messages: 10 (0 generated)
Henrik Grunell
Patrik, can you take a first look?
7 years ago (2013-12-18 14:05:01 UTC) #1
phoglund_chromium
Test look good in general aside from some minor comments. Don't know about the production ...
7 years ago (2013-12-18 14:20:46 UTC) #2
Henrik Grunell
Code review fixes. Jochen, Patrik has mainly looked at the two tests. Please review the ...
7 years ago (2013-12-19 08:43:13 UTC) #3
phoglund_chromium
tests: lgtm https://codereview.chromium.org/101063003/diff/60001/content/browser/media/webrtc_aecdump_browsertest.cc File content/browser/media/webrtc_aecdump_browsertest.cc (right): https://codereview.chromium.org/101063003/diff/60001/content/browser/media/webrtc_aecdump_browsertest.cc#newcode26 content/browser/media/webrtc_aecdump_browsertest.cc:26: // Set up file name. Right, I ...
7 years ago (2013-12-19 11:57:04 UTC) #4
jochen (gone - plz use gerrit)
https://codereview.chromium.org/101063003/diff/120001/content/browser/media/webrtc_aecdump_browsertest.cc File content/browser/media/webrtc_aecdump_browsertest.cc (right): https://codereview.chromium.org/101063003/diff/120001/content/browser/media/webrtc_aecdump_browsertest.cc#newcode27 content/browser/media/webrtc_aecdump_browsertest.cc:27: ASSERT_TRUE(CreateTemporaryFile(&dump_file_)); why not use a scoped temp directory? https://codereview.chromium.org/101063003/diff/120001/content/browser/media/webrtc_aecdump_browsertest.cc#newcode67 ...
7 years ago (2013-12-19 12:41:05 UTC) #5
Henrik Grunell
https://codereview.chromium.org/101063003/diff/120001/content/browser/media/webrtc_aecdump_browsertest.cc File content/browser/media/webrtc_aecdump_browsertest.cc (right): https://codereview.chromium.org/101063003/diff/120001/content/browser/media/webrtc_aecdump_browsertest.cc#newcode27 content/browser/media/webrtc_aecdump_browsertest.cc:27: ASSERT_TRUE(CreateTemporaryFile(&dump_file_)); On 2013/12/19 12:41:06, jochen wrote: > why not ...
7 years ago (2013-12-19 13:46:09 UTC) #6
jochen (gone - plz use gerrit)
On 2013/12/19 13:46:09, Henrik Grunell wrote: > https://codereview.chromium.org/101063003/diff/120001/content/browser/media/webrtc_aecdump_browsertest.cc > File content/browser/media/webrtc_aecdump_browsertest.cc (right): > > https://codereview.chromium.org/101063003/diff/120001/content/browser/media/webrtc_aecdump_browsertest.cc#newcode27 ...
7 years ago (2013-12-19 13:48:45 UTC) #7
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/grunell@chromium.org/101063003/140001
7 years ago (2013-12-19 14:09:34 UTC) #8
commit-bot: I haz the power
Retried try job too often on win_rel for step(s) mini_installer_test http://build.chromium.org/p/tryserver.chromium/buildstatus?builder=win_rel&number=238391
7 years ago (2013-12-19 15:48:49 UTC) #9
Henrik Grunell
7 years ago (2013-12-20 08:34:01 UTC) #10
Message was sent while issue was closed.
Committed patchset #10 manually as r242042 (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698