|
Motown: Move responsibility for binding to MediaFactoryService::Product
MediaFactoryService::Product is a base class for the products of the
factory. Previously, it was just about the factory's ownership of the
product. This CL moves responsibility for the binding to Product as
well, eliminating some duplicated code. This change also introduces
RCHECK, a macro that products can use instead of DCHECK when a failure
should result in the shutdown of the product.
R=kulakowski@chromium.org
Committed: https://chromium.googlesource.com/external/mojo/+/bfa19c495748f4fa4e6b616ba42e1d11b9006600
Total comments: 2
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+82 lines, -74 lines) |
Patch |
 |
M |
services/media/factory_service/factory_service.h
|
View
|
1
|
3 chunks |
+42 lines, -4 lines |
0 comments
|
Download
|
 |
M |
services/media/factory_service/factory_service.cc
|
View
|
|
2 chunks |
+10 lines, -9 lines |
0 comments
|
Download
|
 |
M |
services/media/factory_service/media_decoder_impl.h
|
View
|
|
2 chunks |
+3 lines, -3 lines |
0 comments
|
Download
|
 |
M |
services/media/factory_service/media_decoder_impl.cc
|
View
|
1
|
1 chunk |
+4 lines, -8 lines |
0 comments
|
Download
|
 |
M |
services/media/factory_service/media_demux_impl.h
|
View
|
|
2 chunks |
+2 lines, -2 lines |
0 comments
|
Download
|
 |
M |
services/media/factory_service/media_demux_impl.cc
|
View
|
|
6 chunks |
+5 lines, -8 lines |
0 comments
|
Download
|
 |
M |
services/media/factory_service/media_player_impl.h
|
View
|
|
2 chunks |
+1 line, -2 lines |
0 comments
|
Download
|
 |
M |
services/media/factory_service/media_player_impl.cc
|
View
|
|
2 chunks |
+1 line, -4 lines |
0 comments
|
Download
|
 |
M |
services/media/factory_service/media_sink_impl.h
|
View
|
|
2 chunks |
+2 lines, -2 lines |
0 comments
|
Download
|
 |
M |
services/media/factory_service/media_sink_impl.cc
|
View
|
|
2 chunks |
+2 lines, -12 lines |
0 comments
|
Download
|
 |
M |
services/media/factory_service/media_source_impl.h
|
View
|
|
2 chunks |
+1 line, -2 lines |
0 comments
|
Download
|
 |
M |
services/media/factory_service/media_source_impl.cc
|
View
|
|
8 chunks |
+7 lines, -11 lines |
0 comments
|
Download
|
 |
M |
services/media/factory_service/network_reader_impl.h
|
View
|
|
2 chunks |
+1 line, -2 lines |
0 comments
|
Download
|
 |
M |
services/media/factory_service/network_reader_impl.cc
|
View
|
|
1 chunk |
+1 line, -5 lines |
0 comments
|
Download
|
Total messages: 9 (3 generated)
|