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

Unified Diff: chrome/browser/ui/webui/media_router/media_sink_with_cast_modes.cc

Issue 1100763002: Inject CanAddURLToHistory into TopSitesImpl (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@prefs
Patch Set: Fix error introduced during rebase Created 5 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 side-by-side diff with in-line comments
Download patch
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
« no previous file with comments | « chrome/browser/ui/webui/media_router/media_sink_with_cast_modes.h ('k') | chrome/browser/ui/webui/mojo_web_ui_controller.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698