| Index: content/common/media/media_stream_options.cc
|
| ===================================================================
|
| --- content/common/media/media_stream_options.cc (revision 150440)
|
| +++ content/common/media/media_stream_options.cc (working copy)
|
| @@ -24,4 +24,14 @@
|
| in_use(opened),
|
| session_id(kNoId) {}
|
|
|
| +// static
|
| +bool StreamDeviceInfo::IsEqual(const StreamDeviceInfo& first,
|
| + const StreamDeviceInfo& second) {
|
| + return first.stream_type == second.stream_type &&
|
| + first.name == second.name &&
|
| + first.device_id == second.device_id &&
|
| + first.in_use == second.in_use &&
|
| + first.session_id == second.session_id;
|
| +}
|
| +
|
| } // namespace media_stream
|
|
|