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

Issue 18590002: Migrate MediaStream test code from content/shell/renderer/ to content/test/. (Closed)

Created:
7 years, 5 months ago by scherkus (not reviewing)
Modified:
7 years, 5 months ago
CC:
chromium-reviews, joi+watch-content_chromium.org, darin-cc_chromium.org, jam, jochen+watch_chromium.org, feature-media-reviews_chromium.org
Visibility:
Public.

Description

Migrate MediaStream test code from content/shell/renderer/ to content/test/. ContentRendererClient::OverrideCreateMediaStreamClient() is replaced with UseMockMediaStreams() for overriding MediaStreamClient when running layout tests with content_shell. Doing so permits migration of MediaStream-related code from webkit/ to content/ without widening content's public API solely for test purposes. BUG=251306 R=jam@chromium.org, jochen@chromium.org Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=210747

Patch Set 1 : #

Total comments: 4

Patch Set 2 : use content/test/ #

Patch Set 3 : rebase #

Patch Set 4 : rebase #

Unified diffs Side-by-side diffs Delta from patch set Stats (+92 lines, -341 lines) Patch
M content/content_shell.gypi View 1 2 2 chunks +2 lines, -6 lines 0 comments Download
M content/content_tests.gypi View 1 2 3 1 chunk +4 lines, -0 lines 0 comments Download
M content/public/renderer/content_renderer_client.h View 1 2 chunks +0 lines, -9 lines 0 comments Download
M content/public/renderer/content_renderer_client.cc View 1 1 chunk +0 lines, -5 lines 0 comments Download
M content/public/test/layouttest_support.h View 1 1 chunk +3 lines, -0 lines 0 comments Download
M content/renderer/render_view_impl.h View 1 2 3 5 chunks +14 lines, -4 lines 0 comments Download
M content/renderer/render_view_impl.cc View 1 2 3 7 chunks +21 lines, -17 lines 0 comments Download
D content/shell/renderer/DEPS View 1 1 chunk +0 lines, -3 lines 0 comments Download
M content/shell/renderer/shell_content_renderer_client.h View 1 3 chunks +0 lines, -4 lines 0 comments Download
M content/shell/renderer/shell_content_renderer_client.cc View 1 2 chunks +0 lines, -8 lines 0 comments Download
M content/shell/renderer/shell_media_stream_client.h View 1 1 chunk +0 lines, -33 lines 0 comments Download
M content/shell/renderer/shell_media_stream_client.cc View 1 1 chunk +0 lines, -69 lines 0 comments Download
M content/shell/renderer/shell_video_frame_provider.h View 1 1 chunk +0 lines, -63 lines 0 comments Download
D content/shell/renderer/shell_video_frame_provider.cc View 1 1 chunk +0 lines, -83 lines 0 comments Download
M content/shell/renderer/webkit_test_runner.cc View 1 1 chunk +1 line, -0 lines 0 comments Download
M content/test/layouttest_support.cc View 1 2 chunks +7 lines, -0 lines 0 comments Download
A + content/test/test_media_stream_client.h View 1 2 chunks +9 lines, -7 lines 0 comments Download
A + content/test/test_media_stream_client.cc View 1 3 chunks +9 lines, -8 lines 0 comments Download
A + content/test/test_video_frame_provider.h View 1 4 chunks +7 lines, -7 lines 0 comments Download
A + content/test/test_video_frame_provider.cc View 1 4 chunks +15 lines, -15 lines 0 comments Download

Messages

Total messages: 14 (0 generated)
scherkus (not reviewing)
jam: here you go -- now with no DEPS hacks! I tried to keep it ...
7 years, 5 months ago (2013-07-03 00:47:05 UTC) #1
jam
+jochen for his thoughts basically my comments center around not exposing all this stuff in ...
7 years, 5 months ago (2013-07-03 17:44:32 UTC) #2
scherkus (not reviewing)
On 2013/07/03 17:44:32, jam wrote: > +jochen for his thoughts > > basically my comments ...
7 years, 5 months ago (2013-07-03 20:22:57 UTC) #3
scherkus (not reviewing)
jam / jochen: PTAL I moved the MediaStream crap to content/test/, poked a hole to ...
7 years, 5 months ago (2013-07-03 23:04:56 UTC) #4
scherkus (not reviewing)
On 2013/07/03 23:04:56, scherkus wrote: > jam / jochen: PTAL > > I moved the ...
7 years, 5 months ago (2013-07-03 23:13:00 UTC) #5
jam
lgtm
7 years, 5 months ago (2013-07-08 20:33:09 UTC) #6
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/scherkus@chromium.org/18590002/42001
7 years, 5 months ago (2013-07-08 21:38:15 UTC) #7
jochen (gone - plz use gerrit)
lgtm
7 years, 5 months ago (2013-07-09 07:10:42 UTC) #8
commit-bot: I haz the power
Failed to apply patch for content/renderer/render_view_impl.cc: While running patch -p1 --forward --force --no-backup-if-mismatch; patching file ...
7 years, 5 months ago (2013-07-09 17:29:24 UTC) #9
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/scherkus@chromium.org/18590002/60001
7 years, 5 months ago (2013-07-09 18:37:18 UTC) #10
commit-bot: I haz the power
Retried try job too often on win for step(s) compile http://build.chromium.org/p/tryserver.chromium/buildstatus?builder=win&number=90545
7 years, 5 months ago (2013-07-09 19:02:32 UTC) #11
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/scherkus@chromium.org/18590002/60001
7 years, 5 months ago (2013-07-09 20:14:25 UTC) #12
commit-bot: I haz the power
Failed to apply patch for content/test/test_media_stream_client.cc: While running patch -p1 --forward --force --no-backup-if-mismatch; A content/test/test_media_stream_client.cc ...
7 years, 5 months ago (2013-07-10 02:08:41 UTC) #13
scherkus (not reviewing)
7 years, 5 months ago (2013-07-10 04:56:39 UTC) #14
Message was sent while issue was closed.
Committed patchset #4 manually as r210747 (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698