|
Use enum instead of string in MessageLoopFactory::GetMessageLoop*
This reinforces that only certain thread/message_loop can be created, which also makes thread/message_loop access easier and more reliable.
Also use scoped_refptr<MessageLoopProxy> instead of raw MessageLoop pointer in various places.
BUG=none
TEST=media_unittest, content_unittest and normal <video> playback.
Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=151204
Total comments: 12
Total comments: 11
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+176 lines, -134 lines) |
Patch |
 |
M |
content/renderer/media/media_stream_impl.cc
|
View
|
1
2
3
|
2 chunks |
+4 lines, -2 lines |
0 comments
|
Download
|
 |
M |
content/renderer/media/renderer_gpu_video_decoder_factories.h
|
View
|
1
2
3
|
2 chunks |
+2 lines, -2 lines |
0 comments
|
Download
|
 |
M |
content/renderer/media/renderer_gpu_video_decoder_factories.cc
|
View
|
1
2
3
4
5
6
|
6 chunks |
+9 lines, -8 lines |
0 comments
|
Download
|
 |
M |
content/renderer/render_view_impl.cc
|
View
|
1
2
3
4
5
|
2 chunks |
+7 lines, -4 lines |
0 comments
|
Download
|
 |
M |
media/base/message_loop_factory.h
|
View
|
1
2
3
|
1 chunk |
+13 lines, -16 lines |
0 comments
|
Download
|
 |
M |
media/base/message_loop_factory.cc
|
View
|
1
2
3
4
|
1 chunk |
+20 lines, -13 lines |
0 comments
|
Download
|
 |
M |
media/base/pipeline.h
|
View
|
1
2
3
4
5
|
1 chunk |
+2 lines, -1 line |
0 comments
|
Download
|
 |
M |
media/base/pipeline.cc
|
View
|
1
2
3
4
5
|
2 chunks |
+5 lines, -4 lines |
0 comments
|
Download
|
 |
M |
media/base/pipeline_unittest.cc
|
View
|
1
2
3
4
5
|
1 chunk |
+2 lines, -1 line |
0 comments
|
Download
|
 |
M |
media/filters/ffmpeg_audio_decoder.h
|
View
|
1
2
3
4
|
3 chunks |
+11 lines, -4 lines |
0 comments
|
Download
|
 |
M |
media/filters/ffmpeg_audio_decoder.cc
|
View
|
1
2
3
4
|
5 chunks |
+7 lines, -6 lines |
0 comments
|
Download
|
 |
M |
media/filters/ffmpeg_audio_decoder_unittest.cc
|
View
|
1
2
3
|
1 chunk |
+3 lines, -2 lines |
0 comments
|
Download
|
 |
M |
media/filters/ffmpeg_demuxer.h
|
View
|
1
2
3
|
3 chunks |
+3 lines, -3 lines |
0 comments
|
Download
|
 |
M |
media/filters/ffmpeg_demuxer.cc
|
View
|
1
2
3
|
16 chunks |
+16 lines, -16 lines |
0 comments
|
Download
|
 |
M |
media/filters/ffmpeg_demuxer_unittest.cc
|
View
|
1
2
3
|
1 chunk |
+2 lines, -1 line |
0 comments
|
Download
|
 |
M |
media/filters/ffmpeg_video_decoder.h
|
View
|
1
2
3
4
|
2 chunks |
+9 lines, -5 lines |
0 comments
|
Download
|
 |
M |
media/filters/ffmpeg_video_decoder.cc
|
View
|
1
2
3
4
|
9 chunks |
+12 lines, -13 lines |
0 comments
|
Download
|
 |
M |
media/filters/ffmpeg_video_decoder_unittest.cc
|
View
|
1
2
3
|
1 chunk |
+4 lines, -3 lines |
0 comments
|
Download
|
 |
M |
media/filters/gpu_video_decoder.h
|
View
|
1
2
3
4
|
2 chunks |
+7 lines, -2 lines |
0 comments
|
Download
|
 |
M |
media/filters/gpu_video_decoder.cc
|
View
|
1
2
3
4
|
3 chunks |
+10 lines, -6 lines |
0 comments
|
Download
|
 |
M |
media/filters/pipeline_integration_test_base.cc
|
View
|
1
2
3
4
5
|
3 chunks |
+7 lines, -5 lines |
0 comments
|
Download
|
 |
M |
media/filters/video_frame_generator.h
|
View
|
1
2
3
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
media/filters/video_frame_generator.cc
|
View
|
1
2
3
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
media/tools/player_wtl/movie.cc
|
View
|
1
2
3
4
5
|
2 chunks |
+5 lines, -4 lines |
0 comments
|
Download
|
 |
M |
media/tools/player_x11/player_x11.cc
|
View
|
1
2
3
4
5
|
3 chunks |
+4 lines, -4 lines |
0 comments
|
Download
|
 |
M |
media/tools/seek_tester/seek_tester.cc
|
View
|
1
2
3
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
webkit/media/filter_helpers.cc
|
View
|
1
2
3
4
5
|
2 chunks |
+4 lines, -3 lines |
0 comments
|
Download
|
 |
M |
webkit/media/webmediaplayer_impl.cc
|
View
|
1
2
3
4
5
|
1 chunk |
+3 lines, -2 lines |
0 comments
|
Download
|
 |
M |
webkit/support/test_media_stream_client.cc
|
View
|
1
2
3
|
1 chunk |
+2 lines, -1 line |
0 comments
|
Download
|
Total messages: 18 (0 generated)
|