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

Side by Side Diff: chrome/common/media_router/media_route.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 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/common/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/common/media_router/media_source.h"
9 9
10 namespace media_router { 10 namespace media_router {
11 11
12 MediaRoute::MediaRoute(const MediaRoute::Id& media_route_id, 12 MediaRoute::MediaRoute(const MediaRoute::Id& media_route_id,
13 const MediaSource& media_source, 13 const MediaSource& media_source,
14 const MediaSink::Id& media_sink_id, 14 const MediaSink::Id& media_sink_id,
15 const std::string& description, 15 const std::string& description,
16 bool is_local, 16 bool is_local,
17 const std::string& custom_controller_path, 17 const std::string& custom_controller_path,
18 bool for_display) 18 bool for_display)
(...skipping 10 matching lines...) Expand all
29 MediaRoute::MediaRoute(const MediaRoute& other) = default; 29 MediaRoute::MediaRoute(const MediaRoute& other) = default;
30 30
31 MediaRoute::MediaRoute() {} 31 MediaRoute::MediaRoute() {}
32 MediaRoute::~MediaRoute() = default; 32 MediaRoute::~MediaRoute() = default;
33 33
34 bool MediaRoute::Equals(const MediaRoute& other) const { 34 bool MediaRoute::Equals(const MediaRoute& other) const {
35 return media_route_id_ == other.media_route_id_; 35 return media_route_id_ == other.media_route_id_;
36 } 36 }
37 37
38 } // namespace media_router 38 } // namespace media_router
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698