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

Unified Diff: chrome/browser/media/router/media_sink.h

Issue 2679893002: [Media Router] Add ProvideSinks() Mojo API (Closed)
Patch Set: resolve code review comments from Derek and Mark 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 side-by-side diff with in-line comments
Download patch
Index: chrome/browser/media/router/media_sink.h
diff --git a/chrome/browser/media/router/media_sink.h b/chrome/browser/media/router/media_sink.h
index f5ef6558041c59a0c3bdce21bcaf93c8e18880ab..81b965023745e57fb498e0abc37c9dffa5ad4ab1 100644
--- a/chrome/browser/media/router/media_sink.h
+++ b/chrome/browser/media/router/media_sink.h
@@ -63,6 +63,9 @@ class MediaSink {
// This method only compares IDs.
bool Equals(const MediaSink& other) const;
+ // This method compares all fields.
+ bool operator==(const MediaSink& other) const;
+
// Compares |this| to |other| first by their icon types, then their names
// using |collator|, and finally their IDs.
bool CompareUsingCollator(const MediaSink& other,

Powered by Google App Engine
This is Rietveld 408576698