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

Side by Side Diff: chrome/common/media_router/media_status.cc

Issue 2771413003: Move c/b/media/router/mojo/*.mojom to chrome/common/media_router/mojo/*.mojom (Closed)
Patch Set: Rebase Created 3 years, 8 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
1 // Copyright 2017 The Chromium Authors. All rights reserved. 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 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include "chrome/browser/media/router/media_status.h" 5 #include "chrome/common/media_router/media_status.h"
6 6
7 namespace media_router { 7 namespace media_router {
8 8
9 MediaStatus::MediaStatus() = default; 9 MediaStatus::MediaStatus() = default;
10 10
11 MediaStatus::MediaStatus(const MediaStatus& other) = default; 11 MediaStatus::MediaStatus(const MediaStatus& other) = default;
12 12
13 MediaStatus::~MediaStatus() = default; 13 MediaStatus::~MediaStatus() = default;
14 14
15 MediaStatus& MediaStatus::operator=(const MediaStatus& other) = default; 15 MediaStatus& MediaStatus::operator=(const MediaStatus& other) = default;
16 16
17 bool MediaStatus::operator==(const MediaStatus& other) const { 17 bool MediaStatus::operator==(const MediaStatus& other) const {
18 return title == other.title && description == other.description && 18 return title == other.title && description == other.description &&
19 can_play_pause == other.can_play_pause && can_mute == other.can_mute && 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 && 20 can_set_volume == other.can_set_volume && can_seek == other.can_seek &&
21 is_paused == other.is_paused && is_muted == other.is_muted && 21 is_paused == other.is_paused && is_muted == other.is_muted &&
22 volume == other.volume && duration == other.duration && 22 volume == other.volume && duration == other.duration &&
23 current_time == other.current_time; 23 current_time == other.current_time;
24 } 24 }
25 25
26 } // namespace media_router 26 } // namespace media_router
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698