Index: content/common/media/media_stream_options.cc |
=================================================================== |
--- content/common/media/media_stream_options.cc (revision 148913) |
+++ content/common/media/media_stream_options.cc (working copy) |
@@ -24,4 +24,12 @@ |
in_use(opened), |
session_id(kNoId) {} |
+bool StreamDeviceInfo::operator==(const StreamDeviceInfo &other) const { |
scherkus (not reviewing)
2012/08/02 00:14:19
& with type name
wjia(left Chromium)
2012/08/02 22:15:27
Done.
|
+ return stream_type == other.stream_type && |
+ name == other.name && |
scherkus (not reviewing)
2012/08/02 00:14:19
nit: this should be 4 space indent here + below (t
wjia(left Chromium)
2012/08/02 22:15:27
Done.
|
+ device_id == other.device_id && |
+ in_use == other.in_use && |
+ session_id == other.session_id; |
+} |
+ |
} // namespace media_stream |