Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(51)

Side by Side Diff: chrome/browser/media/router/media_status.cc

Issue 2727123002: [Media Router] Custom Controls 1 - Add MediaStatus, MediaRouteController, and mojo interfaces (Closed)
Patch Set: Change comment Created 3 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
(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 && description == other.description &&
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
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698