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

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

Issue 2666873006: [Media Router] Convert to use typemaps for media_router.mojom. (Closed)
Patch Set: Remove DCHECK since tests are hitting the code path Created 3 years, 10 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
« no previous file with comments | « chrome/browser/media/router/media_route.h ('k') | chrome/browser/media/router/media_sink.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2015 The Chromium Authors. All rights reserved. 1 // Copyright 2015 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_route.h" 5 #include "chrome/browser/media/router/media_route.h"
6 6
7 #include "base/logging.h" 7 #include "base/logging.h"
8 #include "chrome/browser/media/router/media_source.h" 8 #include "chrome/browser/media/router/media_source.h"
9 9
10 namespace media_router { 10 namespace media_router {
(...skipping 10 matching lines...) Expand all
21 media_sink_id_(media_sink_id), 21 media_sink_id_(media_sink_id),
22 description_(description), 22 description_(description),
23 is_local_(is_local), 23 is_local_(is_local),
24 custom_controller_path_(custom_controller_path), 24 custom_controller_path_(custom_controller_path),
25 for_display_(for_display), 25 for_display_(for_display),
26 is_incognito_(false), 26 is_incognito_(false),
27 is_offscreen_presentation_(false) {} 27 is_offscreen_presentation_(false) {}
28 28
29 MediaRoute::MediaRoute(const MediaRoute& other) = default; 29 MediaRoute::MediaRoute(const MediaRoute& other) = default;
30 30
31 MediaRoute::MediaRoute() {}
31 MediaRoute::~MediaRoute() = default; 32 MediaRoute::~MediaRoute() = default;
32 33
33 bool MediaRoute::Equals(const MediaRoute& other) const { 34 bool MediaRoute::Equals(const MediaRoute& other) const {
34 return media_route_id_ == other.media_route_id_; 35 return media_route_id_ == other.media_route_id_;
35 } 36 }
36 37
37 } // namespace media_router 38 } // namespace media_router
OLDNEW
« no previous file with comments | « chrome/browser/media/router/media_route.h ('k') | chrome/browser/media/router/media_sink.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698