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

Side by Side Diff: chrome/common/media_router/discovery/media_sink_internal.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/discovery/media_sink_internal.h" 5 #include "chrome/common/media_router/discovery/media_sink_internal.h"
6 6
7 #include "base/logging.h" 7 #include "base/logging.h"
8 #include "base/strings/string_util.h" 8 #include "base/strings/string_util.h"
9 9
10 namespace media_router { 10 namespace media_router {
11 11
12 MediaSinkInternal::MediaSinkInternal(const MediaSink& sink, 12 MediaSinkInternal::MediaSinkInternal(const MediaSink& sink,
13 const DialSinkExtraData& dial_data) 13 const DialSinkExtraData& dial_data)
14 : sink_(sink), sink_type_(SinkType::DIAL) { 14 : sink_(sink), sink_type_(SinkType::DIAL) {
15 dial_data_.Init(dial_data); 15 dial_data_.Init(dial_data);
(...skipping 150 matching lines...) Expand 10 before | Expand all | Expand 10 after
166 CastSinkExtraData::CastSinkExtraData(const CastSinkExtraData& other) = default; 166 CastSinkExtraData::CastSinkExtraData(const CastSinkExtraData& other) = default;
167 CastSinkExtraData::~CastSinkExtraData() = default; 167 CastSinkExtraData::~CastSinkExtraData() = default;
168 168
169 bool CastSinkExtraData::operator==(const CastSinkExtraData& other) const { 169 bool CastSinkExtraData::operator==(const CastSinkExtraData& other) const {
170 return ip_address == other.ip_address && model_name == other.model_name && 170 return ip_address == other.ip_address && model_name == other.model_name &&
171 capabilities == other.capabilities && 171 capabilities == other.capabilities &&
172 cast_channel_id == other.cast_channel_id; 172 cast_channel_id == other.cast_channel_id;
173 } 173 }
174 174
175 } // namespace media_router 175 } // namespace media_router
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698