Index: chrome/browser/ui/webui/media_router/media_sink_with_cast_modes.cc |
diff --git a/chrome/browser/ui/webui/media_router/media_sink_with_cast_modes.cc b/chrome/browser/ui/webui/media_router/media_sink_with_cast_modes.cc |
new file mode 100644 |
index 0000000000000000000000000000000000000000..d24e207f0d081f61c44d53485eb2dc5ff6551784 |
--- /dev/null |
+++ b/chrome/browser/ui/webui/media_router/media_sink_with_cast_modes.cc |
@@ -0,0 +1,20 @@ |
+// Copyright 2015 The Chromium Authors. All rights reserved. |
+// Use of this source code is governed by a BSD-style license that can be |
+// found in the LICENSE file. |
+ |
+#include "chrome/browser/ui/webui/media_router/media_sink_with_cast_modes.h" |
+ |
+namespace media_router { |
+ |
+MediaSinkWithCastModes::MediaSinkWithCastModes(const MediaSink& sink) |
+ : sink(sink) { |
+} |
+ |
+MediaSinkWithCastModes::~MediaSinkWithCastModes() { |
+} |
+ |
+bool MediaSinkWithCastModes::Equals(const MediaSinkWithCastModes& other) const { |
+ return sink.Equals(other.sink) && cast_modes == other.cast_modes; |
+} |
+ |
+} // namespace media_router |