OLD | NEW |
(Empty) | |
| 1 // Copyright 2017 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. |
| 4 |
| 5 #include "chrome/browser/media/router/media_status.h" |
| 6 |
| 7 namespace media_router { |
| 8 |
| 9 MediaStatus::MediaStatus() = default; |
| 10 |
| 11 MediaStatus::MediaStatus(const MediaStatus& other) = default; |
| 12 |
| 13 MediaStatus::~MediaStatus() = default; |
| 14 |
| 15 MediaStatus& MediaStatus::operator=(const MediaStatus& other) = default; |
| 16 |
| 17 bool MediaStatus::operator==(const MediaStatus& other) const { |
| 18 return title == other.title && status == other.status && |
| 19 can_play_pause == other.can_play_pause && can_mute == other.can_mute && |
| 20 can_set_volume == other.can_set_volume && can_seek == other.can_seek && |
| 21 is_paused == other.is_paused && is_muted == other.is_muted && |
| 22 volume == other.volume && duration == other.duration && |
| 23 current_time == other.current_time; |
| 24 } |
| 25 |
| 26 } // namespace media_router |
OLD | NEW |